detect_os.h
Go to the documentation of this file.00001 #ifndef DETECT_OS_H
00002 #define DETECT_OS_H
00003
00013 #if defined _MSC_VER || defined __CYGWIN__ || defined __MINGW32__
00014 # define Windows
00015 # if defined _MSC_VER
00016 # define MSC
00017 # elif defined __CYGWIN__
00018 # define Cygwin
00019 # elif defined __MINGW32__
00020 # define MinGW
00021 # endif
00022 #elif defined __NetBSD__
00023 # define NetBSD
00024 # define NoSDL_Linux
00025 #elif defined __linux__
00026 # define Linux
00027 #endif
00028
00029 #endif
00030