guard.hpp 575 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef NALL_WINDOWS_GUARD_HPP
  2. #define NALL_WINDOWS_GUARD_HPP
  3. #define boolean WindowsBoolean
  4. #define interface WindowsInterface
  5. #undef UNICODE
  6. #undef WINVER
  7. #undef WIN32_LEAN_AND_LEAN
  8. #undef _WIN32_WINNT
  9. #undef _WIN32_IE
  10. #undef __MSVCRT_VERSION__
  11. #undef NOMINMAX
  12. #undef PATH_MAX
  13. #define UNICODE
  14. #define WINVER 0x0601
  15. #define WIN32_LEAN_AND_MEAN
  16. #define _WIN32_WINNT WINVER
  17. #define _WIN32_IE WINVER
  18. #define __MSVCRT_VERSION__ WINVER
  19. #define NOMINMAX
  20. #define PATH_MAX 260
  21. #else
  22. #undef NALL_WINDOWS_GUARD_HPP
  23. #undef boolean
  24. #undef interface
  25. #undef far
  26. #undef near
  27. #endif