aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/winint.h
blob: 8eab0e05ca1ad2a2b0d87ecaaa80ce22041c1a58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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