Add platform defines for windows

This commit is contained in:
Yamagi Burmeister 2012-06-27 14:54:27 +02:00
parent 4366acb6c0
commit 2482849546

View file

@ -68,6 +68,8 @@
#define OS "FreeBSD" #define OS "FreeBSD"
#elif defined(__linux__) #elif defined(__linux__)
#define OS "Linux" #define OS "Linux"
#elif defined(_WIN32)
#define OS "Windows"
#else #else
#define OS "Unknown" #define OS "Unknown"
#endif #endif