All Classes Namespaces Files Functions Variables Enumerations Enumerator
libs/system/c/detect_os.h
Go to the documentation of this file.
00001 #ifndef QRK_C_DETECT_OS_H
00002 #define QRK_C_DETECT_OS_H
00003 
00013 #if defined _MSC_VER || defined __CYGWIN__ || defined __MINGW32__
00014 #define WINDOWS_OS
00015 
00016 #if defined _MSC_VER
00017 #define MSC
00018 #elif defined __CYGWIN__
00019 #define Cygwin
00020 #elif defined __MINGW32__
00021 #define MinGW
00022 #endif
00023 
00024 #elif defined __linux__
00025 #define LINUX_OS
00026 
00027 #else
00028 // 検出できないときを、Mac 扱いにしてしまう
00029 #define MAC_OS
00030 //#define EMBEDDED_OS
00031 #endif
00032 
00033 #endif /* !QRK_C_DETECT_OS_H */