Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemPathsWin32.h
| Show All 23 Lines | |||||
| #ifndef __GHOST_SYSTEMPATHSWIN32_H__ | #ifndef __GHOST_SYSTEMPATHSWIN32_H__ | ||||
| #define __GHOST_SYSTEMPATHSWIN32_H__ | #define __GHOST_SYSTEMPATHSWIN32_H__ | ||||
| #ifndef WIN32 | #ifndef WIN32 | ||||
| # error WIN32 only! | # error WIN32 only! | ||||
| #endif // WIN32 | #endif // WIN32 | ||||
| #undef _WIN32_WINNT | #undef _WIN32_WINNT | ||||
| #define _WIN32_WINNT 0x501 // require Windows XP or newer | #define _WIN32_WINNT 0x0600 // require Windows Vista or newer | ||||
LazyDodo: This is done in platform_win32.cmake , these two lines can be removed , | |||||
| #define WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | ||||
| #include <windows.h> | #include <windows.h> | ||||
| #include "GHOST_SystemPaths.h" | #include "GHOST_SystemPaths.h" | ||||
| /** | /** | ||||
| * WIN32 Implementation of GHOST_SystemPaths class. | * WIN32 Implementation of GHOST_SystemPaths class. | ||||
| * \see GHOST_SystemPaths. | * \see GHOST_SystemPaths. | ||||
| Show All 40 Lines | |||||
This is done in platform_win32.cmake , these two lines can be removed ,