Changeset 37 in tspsg-svn for trunk/src/os.h
- Timestamp:
- Jul 16, 2009, 6:00:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os.h
r31 r37 25 25 #define OS_H 26 26 27 #ifdef _WIN64 28 #define BITS " (64-bit)" 29 #elif defined _WIN32 30 #define BITS " (32-bit)" 31 #else 32 #define BITS "" 33 #endif // BITS 34 27 35 #ifdef Q_OS_AIX 28 #define OS "AIX" 36 #define OS "AIX"BITS 29 37 #define OSID quint8(1) 30 38 #elif defined Q_OS_BSD4 31 #define OS "BSD 4.4" 39 #define OS "BSD 4.4"BITS 32 40 #define OSID quint8(2) 33 41 #elif defined Q_OS_BSDI 34 #define OS "BSD/OS" 42 #define OS "BSD/OS"BITS 35 43 #define OSID quint8(3) 36 44 #elif defined Q_OS_CYGWIN 37 #define OS "Cygwin" 45 #define OS "Cygwin"BITS 38 46 #define OSID quint8(4) 39 47 #elif defined Q_OS_DARWIN 40 #define OS "Darwin OS" 48 #define OS "Darwin OS"BITS 41 49 #define OSID quint8(5) 42 50 #elif defined Q_OS_DGUX 43 #define OS "DG/UX" 51 #define OS "DG/UX"BITS 44 52 #define OSID quint8(6) 45 53 #elif defined Q_OS_DYNIX 46 #define OS "DYNIX/ptx" 54 #define OS "DYNIX/ptx"BITS 47 55 #define OSID quint8(7) 48 56 #elif defined Q_OS_FREEBSD 49 #define OS "FreeBSD" 57 #define OS "FreeBSD"BITS 50 58 #define OSID quint8(8) 51 59 #elif defined Q_OS_HPUX 52 #define OS "HP-UX" 60 #define OS "HP-UX"BITS 53 61 #define OSID quint8(9) 54 62 #elif defined Q_OS_HURD 55 #define OS "GNU Hurd" 63 #define OS "GNU Hurd"BITS 56 64 #define OSID quint8(10) 57 65 #elif defined Q_OS_IRIX 58 #define OS "SGI Irix" 66 #define OS "SGI Irix"BITS 59 67 #define OSID quint8(11) 60 68 #elif defined Q_OS_LINUX 61 #define OS "Linux" 69 #define OS "Linux"BITS 62 70 #define OSID quint8(12) 63 71 #elif defined Q_OS_LYNX 64 #define OS "LynxOS" 72 #define OS "LynxOS"BITS 65 73 #define OSID quint8(13) 66 74 #elif defined Q_OS_MSDOS 67 #define OS "MS-DOS" 75 #define OS "MS-DOS"BITS 68 76 #define OSID quint8(14) 69 77 #elif defined Q_OS_NETBSD 70 #define OS "NetBSD" 78 #define OS "NetBSD"BITS 71 79 #define OSID quint8(15) 72 80 #elif defined Q_OS_OS2 73 #define OS "OS/2" 81 #define OS "OS/2"BITS 74 82 #define OSID quint8(16) 75 83 #elif defined Q_OS_OPENBSD 76 #define OS "OpenBSD" 84 #define OS "OpenBSD"BITS 77 85 #define OSID quint8(17) 78 86 #elif defined Q_OS_OS2EMX 79 #define OS "OS/2" 87 #define OS "OS/2"BITS 80 88 #define OSID quint8(18) 81 89 #elif defined Q_OS_OSF 82 #define OS "HP Tru64 UNIX" 90 #define OS "HP Tru64 UNIX"BITS 83 91 #define OSID quint8(19) 84 92 #elif defined Q_OS_QNX6 85 #define OS "QNX RTP 6.1" 93 #define OS "QNX RTP 6.1"BITS 86 94 #define OSID quint8(20) 87 95 #elif defined Q_OS_QNX 88 #define OS "QNX" 96 #define OS "QNX"BITS 89 97 #define OSID quint8(21) 90 98 #elif defined Q_OS_RELIANT 91 #define OS "Reliant UNIX" 99 #define OS "Reliant UNIX"BITS 92 100 #define OSID quint8(22) 93 101 #elif defined Q_OS_SCO 94 #define OS "SCO OpenServer 5" 102 #define OS "SCO OpenServer 5"BITS 95 103 #define OSID quint8(23) 96 104 #elif defined Q_OS_SOLARIS 97 #define OS "Sun Solaris" 105 #define OS "Sun Solaris"BITS 98 106 #define OSID quint8(24) 99 107 #elif defined Q_OS_ULTRIX 100 #define OS "DEC Ultrix" 108 #define OS "DEC Ultrix"BITS 101 109 #define OSID quint8(25) 102 110 #elif defined Q_OS_UNIX 103 #define OS "UNIX BSD/SYSV" 111 #define OS "UNIX BSD/SYSV"BITS 104 112 #define OSID quint8(26) 105 113 #elif defined Q_OS_UNIXWARE 106 #define OS "UnixWare 7/Open UNIX 8" 114 #define OS "UnixWare 7/Open UNIX 8"BITS 107 115 #define OSID quint8(27) 108 116 #elif defined Q_OS_WIN32 109 #define OS "Windows" 117 #define OS "Windows"BITS 110 118 #define OSID quint8(28) 111 119 #elif defined Q_OS_WINCE … … 113 121 #define OSID quint8(29) 114 122 #else 115 #define OS "Unknown" 123 #define OS "Unknown"BITS 116 124 #define OSID quint8(255) 117 #endif 125 #endif // OS 118 126 119 127 #endif // OS_H
Note: See TracChangeset
for help on using the changeset viewer.