win_undef.h 807 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * The lack of #pragma once is intentional,
  3. * as the user might need to include this header multiple times.
  4. */
  5. #include <util/system/platform.h>
  6. #if defined(_win_)
  7. #undef GetFreeSpace
  8. #undef LoadImage
  9. #undef GetMessage
  10. #undef SendMessage
  11. #undef DeleteFile
  12. #undef GetUserName
  13. #undef CreateMutex
  14. #undef GetObject
  15. #undef GetGeoInfo
  16. #undef GetClassName
  17. #undef GetKValue
  18. #undef StartDoc
  19. #undef UpdateResource
  20. #undef GetNameInfo
  21. #undef GetProp
  22. #undef SetProp
  23. #undef RemoveProp
  24. // FIXME thegeorg@: undefining CONST breaks too many projects.
  25. // #undef CONST
  26. #undef DEFAULT_QUALITY
  27. #undef ERROR
  28. #undef IGNORE
  29. #undef OPTIONAL
  30. #undef TRANSPARENT
  31. #undef LANG_LAO
  32. #undef LANG_YI
  33. #undef CM_NONE
  34. #endif