aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/winint.h
diff options
context:
space:
mode:
authorDevtools Arcadia <arcadia-devtools@yandex-team.ru>2022-02-07 18:08:42 +0300
committerDevtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net>2022-02-07 18:08:42 +0300
commit1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch)
treee26c9fed0de5d9873cce7e00bc214573dc2195b7 /util/system/winint.h
downloadydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'util/system/winint.h')
-rw-r--r--util/system/winint.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/util/system/winint.h b/util/system/winint.h
new file mode 100644
index 0000000000..ebeaefb3d2
--- /dev/null
+++ b/util/system/winint.h
@@ -0,0 +1,43 @@
+#pragma once
+
+#include "platform.h"
+
+#if defined(_win_)
+
+ #ifndef WIN32_LEAN_AND_MEAN
+ #define WIN32_LEAN_AND_MEAN
+ #endif
+
+ #ifndef NOMINMAX
+ #define NOMINMAX
+ #endif
+
+ #include <windows.h>
+
+ #undef GetFreeSpace
+ #undef LoadImage
+ #undef GetMessage
+ #undef SendMessage
+ #undef DeleteFile
+ #undef OPTIONAL
+ #undef GetUserName
+ #undef CreateMutex
+ #undef GetObject
+ #undef GetGeoInfo
+ #undef GetClassName
+ #undef LANG_LAO
+ #undef GetKValue
+ #undef StartDoc
+ #undef UpdateResource
+ #undef GetNameInfo
+ #undef GetProp
+ #undef SetProp
+ #undef RemoveProp
+
+ #undef IGNORE
+ #undef ERROR
+ #undef TRANSPARENT
+
+ #undef CM_NONE
+
+#endif