source: tspsg/src/os.h @ 2b9257627c

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 2b9257627c was 993d5af6f6, checked in by Oleksii Serdiuk, 15 years ago

+ Opening task file
+ Saving task file

  • Translations update to reflect recent changes.
  • Property mode set to 100644
File size: 3.1 KB
Line 
1/*
2 *  TSPSG - TSP Solver and Generator
3 *  Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name>
4 *
5 *  $Id$
6 *  $URL$
7 *
8 *  This file is part of TSPSG.
9 *
10 *  TSPSG is free software: you can redistribute it and/or modify
11 *  it under the terms of the GNU General Public License as published by
12 *  the Free Software Foundation, either version 3 of the License, or
13 *  (at your option) any later version.
14 *
15 *  TSPSG is distributed in the hope that it will be useful,
16 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 *  GNU General Public License for more details.
19 *
20 *  You should have received a copy of the GNU General Public License
21 *  along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
22 */
23
24#ifndef OS_H
25#define OS_H
26
27#ifdef Q_OS_AIX
28        #define OS "AIX"
29        #define OSID quint8(1)
30#elif defined Q_OS_BSD4
31        #define OS "BSD 4.4"
32        #define OSID quint8(2)
33#elif defined Q_OS_BSDI
34        #define OS "BSD/OS"
35        #define OSID quint8(3)
36#elif defined Q_OS_CYGWIN
37        #define OS "Cygwin"
38        #define OSID quint8(4)
39#elif defined Q_OS_DARWIN
40        #define OS "Darwin OS"
41        #define OSID quint8(5)
42#elif defined Q_OS_DGUX
43        #define OS "DG/UX"
44        #define OSID quint8(6)
45#elif defined Q_OS_DYNIX
46        #define OS "DYNIX/ptx"
47        #define OSID quint8(7)
48#elif defined Q_OS_FREEBSD
49        #define OS "FreeBSD"
50        #define OSID quint8(8)
51#elif defined Q_OS_HPUX
52        #define OS "HP-UX"
53        #define OSID quint8(9)
54#elif defined Q_OS_HURD
55        #define OS "GNU Hurd"
56        #define OSID quint8(10)
57#elif defined Q_OS_IRIX
58        #define OS "SGI Irix"
59        #define OSID quint8(11)
60#elif defined Q_OS_LINUX
61        #define OS "Linux"
62        #define OSID quint8(12)
63#elif defined Q_OS_LYNX
64        #define OS "LynxOS"
65        #define OSID quint8(13)
66#elif defined Q_OS_MSDOS
67        #define OS "MS-DOS"
68        #define OSID quint8(14)
69#elif defined Q_OS_NETBSD
70        #define OS "NetBSD"
71        #define OSID quint8(15)
72#elif defined Q_OS_OS2
73        #define OS "OS/2"
74        #define OSID quint8(16)
75#elif defined Q_OS_OPENBSD
76        #define OS "OpenBSD"
77        #define OSID quint8(17)
78#elif defined Q_OS_OS2EMX
79        #define OS "OS/2"
80        #define OSID quint8(18)
81#elif defined Q_OS_OSF
82        #define OS "HP Tru64 UNIX"
83        #define OSID quint8(19)
84#elif defined Q_OS_QNX6
85        #define OS "QNX RTP 6.1"
86        #define OSID quint8(20)
87#elif defined Q_OS_QNX
88        #define OS "QNX"
89        #define OSID quint8(21)
90#elif defined Q_OS_RELIANT
91        #define OS "Reliant UNIX"
92        #define OSID quint8(22)
93#elif defined Q_OS_SCO
94        #define OS "SCO OpenServer 5"
95        #define OSID quint8(23)
96#elif defined Q_OS_SOLARIS
97        #define OS "Sun Solaris"
98        #define OSID quint8(24)
99#elif defined Q_OS_ULTRIX
100        #define OS "DEC Ultrix"
101        #define OSID quint8(25)
102#elif defined Q_OS_UNIX
103        #define OS "UNIX BSD/SYSV"
104        #define OSID quint8(26)
105#elif defined Q_OS_UNIXWARE
106        #define OS "UnixWare 7/Open UNIX 8"
107        #define OSID quint8(27)
108#elif defined Q_OS_WIN32
109        #define OS "Windows"
110        #define OSID quint8(28)
111#elif defined Q_OS_WINCE
112        #define OS "Windows CE"
113        #define OSID quint8(29)
114#else
115        #define OS "Unknown"
116        #define OSID quint8(255)
117#endif
118
119#endif // OS_H
Note: See TracBrowser for help on using the repository browser.