Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 #ifndef Foundation_Platform_INCLUDED
00042 #define Foundation_Platform_INCLUDED
00043
00044
00045
00046
00047 #define BT_OS_FREE_BSD 0x0001
00048 #define BT_OS_AIX 0x0002
00049 #define BT_OS_HPUX 0x0003
00050 #define BT_OS_TRU64 0x0004
00051 #define BT_OS_LINUX 0x0005
00052 #define BT_OS_MAC_OS_X 0x0006
00053 #define BT_OS_NET_BSD 0x0007
00054 #define BT_OS_OPEN_BSD 0x0008
00055 #define BT_OS_IRIX 0x0009
00056 #define BT_OS_SOLARIS 0x000a
00057 #define BT_OS_QNX 0x000b
00058 #define BT_OS_VXWORKS 0x000c
00059 #define BT_OS_CYGWIN 0x000d
00060 #define BT_OS_UNKNOWN_UNIX 0x00ff
00061 #define BT_OS_WINDOWS_NT 0x1001
00062 #define BT_OS_WINDOWS_CE 0x1011
00063 #define BT_OS_VMS 0x2001
00064
00065 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
00066 #define BT_OS_FAMILY_UNIX 1
00067 #define BT_OS_FAMILY_BSD 1
00068 #define BT_OS BT_OS_FREE_BSD
00069 #elif defined(_AIX) || defined(__TOS_AIX__)
00070 #define BT_OS_FAMILY_UNIX 1
00071 #define BT_OS BT_OS_AIX
00072 #elif defined(hpux) || defined(_hpux)
00073 #define BT_OS_FAMILY_UNIX 1
00074 #define BT_OS BT_OS_HPUX
00075 #elif defined(__digital__) || defined(__osf__)
00076 #define BT_OS_FAMILY_UNIX 1
00077 #define BT_OS BT_OS_TRU64
00078 #elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__TOS_LINUX__)
00079 #define BT_OS_FAMILY_UNIX 1
00080 #define BT_OS BT_OS_LINUX
00081 #elif defined(__APPLE__) || defined(__TOS_MACOS__)
00082 #define BT_OS_FAMILY_UNIX 1
00083 #define BT_OS_FAMILY_BSD 1
00084 #define BT_OS BT_OS_MAC_OS_X
00085 #elif defined(__NetBSD__)
00086 #define BT_OS_FAMILY_UNIX 1
00087 #define BT_OS_FAMILY_BSD 1
00088 #define BT_OS BT_OS_NET_BSD
00089 #elif defined(__OpenBSD__)
00090 #define BT_OS_FAMILY_UNIX 1
00091 #define BT_OS_FAMILY_BSD 1
00092 #define BT_OS BT_OS_OPEN_BSD
00093 #elif defined(sgi) || defined(__sgi)
00094 #define BT_OS_FAMILY_UNIX 1
00095 #define BT_OS BT_OS_IRIX
00096 #elif defined(sun) || defined(__sun)
00097 #define BT_OS_FAMILY_UNIX 1
00098 #define BT_OS BT_OS_SOLARIS
00099 #elif defined(__QNX__)
00100 #define BT_OS_FAMILY_UNIX 1
00101 #define BT_OS BT_OS_QNX
00102 #elif defined(unix) || defined(__unix) || defined(__unix__)
00103 #define BT_OS_FAMILY_UNIX 1
00104 #define BT_OS BT_OS_UNKNOWN_UNIX
00105 #elif defined(_WIN32_WCE)
00106 #define BT_OS_FAMILY_WINDOWS 1
00107 #define BT_OS BT_OS_WINDOWS_CE
00108 #elif defined(_WIN32) || defined(_WIN64)
00109 #define BT_OS_FAMILY_WINDOWS 1
00110 #define BT_OS BT_OS_WINDOWS_NT
00111 #elif defined(__CYGWIN__)
00112 #define BT_OS_FAMILY_UNIX 1
00113 #define BT_OS BT_OS_CYGWIN
00114 #elif defined(__VMS)
00115 #define BT_OS_FAMILY_VMS 1
00116 #define BT_OS BT_OS_VMS
00117 #endif
00118
00119 #endif // Foundation_Platform_INCLUDED