platform.hpp
Go to the documentation of this file.
1 //
2 // Platform.h
3 //
4 // $Id: //poco/1.3/Foundation/include/Poco/Platform.h#5 $
5 //
6 // Library: Foundation
7 // Package: Core
8 // Module: Platform
9 //
10 // Platform and architecture identification macros.
11 //
12 // NOTE: This file may be included from both C++ and C code, so it
13 // must not contain any C++ specific things.
14 //
15 // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
16 // and Contributors.
17 //
18 // Permission is hereby granted, free of charge, to any person or organization
19 // obtaining a copy of the software and accompanying documentation covered by
20 // this license (the "Software") to use, reproduce, display, distribute,
21 // execute, and transmit the Software, and to prepare derivative works of the
22 // Software, and to permit third-parties to whom the Software is furnished to
23 // do so, all subject to the following:
24 //
25 // The copyright notices in the Software and this entire statement, including
26 // the above license grant, this restriction and the following disclaimer,
27 // must be included in all copies of the Software, in whole or in part, and
28 // all derivative works of the Software, unless such copies or derivative
29 // works are solely in the form of machine-executable object code generated by
30 // a source language processor.
31 //
32 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34 // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
35 // SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
36 // FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
37 // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
38 // DEALINGS IN THE SOFTWARE.
39 //
40 
41 #ifndef Foundation_Platform_INCLUDED
42 #define Foundation_Platform_INCLUDED
43 
44 //
45 // Platform Identification
46 //
47 #define BT_OS_FREE_BSD 0x0001
48 #define BT_OS_AIX 0x0002
49 #define BT_OS_HPUX 0x0003
50 #define BT_OS_TRU64 0x0004
51 #define BT_OS_LINUX 0x0005
52 #define BT_OS_MAC_OS_X 0x0006
53 #define BT_OS_NET_BSD 0x0007
54 #define BT_OS_OPEN_BSD 0x0008
55 #define BT_OS_IRIX 0x0009
56 #define BT_OS_SOLARIS 0x000a
57 #define BT_OS_QNX 0x000b
58 #define BT_OS_VXWORKS 0x000c
59 #define BT_OS_CYGWIN 0x000d
60 #define BT_OS_UNKNOWN_UNIX 0x00ff
61 #define BT_OS_WINDOWS_NT 0x1001
62 #define BT_OS_WINDOWS_CE 0x1011
63 #define BT_OS_VMS 0x2001
64 
65 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
66 #define BT_OS_FAMILY_UNIX 1
67 #define BT_OS_FAMILY_BSD 1
68 #define BT_OS BT_OS_FREE_BSD
69 #elif defined(_AIX) || defined(__TOS_AIX__)
70 #define BT_OS_FAMILY_UNIX 1
71 #define BT_OS BT_OS_AIX
72 #elif defined(hpux) || defined(_hpux)
73 #define BT_OS_FAMILY_UNIX 1
74 #define BT_OS BT_OS_HPUX
75 #elif defined(__digital__) || defined(__osf__)
76 #define BT_OS_FAMILY_UNIX 1
77 #define BT_OS BT_OS_TRU64
78 #elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__TOS_LINUX__)
79 #define BT_OS_FAMILY_UNIX 1
80 #define BT_OS BT_OS_LINUX
81 #elif defined(__APPLE__) || defined(__TOS_MACOS__)
82 #define BT_OS_FAMILY_UNIX 1
83 #define BT_OS_FAMILY_BSD 1
84 #define BT_OS BT_OS_MAC_OS_X
85 #elif defined(__NetBSD__)
86 #define BT_OS_FAMILY_UNIX 1
87 #define BT_OS_FAMILY_BSD 1
88 #define BT_OS BT_OS_NET_BSD
89 #elif defined(__OpenBSD__)
90 #define BT_OS_FAMILY_UNIX 1
91 #define BT_OS_FAMILY_BSD 1
92 #define BT_OS BT_OS_OPEN_BSD
93 #elif defined(sgi) || defined(__sgi)
94 #define BT_OS_FAMILY_UNIX 1
95 #define BT_OS BT_OS_IRIX
96 #elif defined(sun) || defined(__sun)
97 #define BT_OS_FAMILY_UNIX 1
98 #define BT_OS BT_OS_SOLARIS
99 #elif defined(__QNX__)
100 #define BT_OS_FAMILY_UNIX 1
101 #define BT_OS BT_OS_QNX
102 #elif defined(unix) || defined(__unix) || defined(__unix__)
103 #define BT_OS_FAMILY_UNIX 1
104 #define BT_OS BT_OS_UNKNOWN_UNIX
105 #elif defined(_WIN32_WCE)
106 #define BT_OS_FAMILY_WINDOWS 1
107 #define BT_OS BT_OS_WINDOWS_CE
108 #elif defined(_WIN32) || defined(_WIN64)
109 #define BT_OS_FAMILY_WINDOWS 1
110 #define BT_OS BT_OS_WINDOWS_NT
111 #elif defined(__CYGWIN__)
112 #define BT_OS_FAMILY_UNIX 1
113 #define BT_OS BT_OS_CYGWIN
114 #elif defined(__VMS)
115 #define BT_OS_FAMILY_VMS 1
116 #define BT_OS BT_OS_VMS
117 #endif
118 
119 #endif // Foundation_Platform_INCLUDED


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 18:04:05