aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/win_undef.h
blob: 43f3d5c73d2cb257581799bf6629aa9f77dac7d0 (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
/*
 * The lack of #pragma once is intentional,
 * as the user might need to include this header multiple times.
 */

#include <util/system/platform.h>

#if defined(_win_)
    #undef GetFreeSpace
    #undef LoadImage
    #undef GetMessage
    #undef SendMessage
    #undef DeleteFile
    #undef GetUserName
    #undef CreateMutex
    #undef GetObject
    #undef GetGeoInfo
    #undef GetClassName
    #undef GetKValue
    #undef StartDoc
    #undef UpdateResource
    #undef GetNameInfo
    #undef GetProp
    #undef SetProp
    #undef RemoveProp

    // FIXME thegeorg@: undefining CONST breaks too many projects.
    // #undef CONST
    #undef DEFAULT_QUALITY
    #undef ERROR
    #undef IGNORE
    #undef OPTIONAL
    #undef TRANSPARENT

    #undef LANG_LAO
    #undef LANG_YI

    #undef CM_NONE

#endif