platform.hpp
Go to the documentation of this file.
00001 //
00002 // Platform.h
00003 //
00004 // $Id: //poco/1.3/Foundation/include/Poco/Platform.h#5 $
00005 //
00006 // Library: Foundation
00007 // Package: Core
00008 // Module:  Platform
00009 //
00010 // Platform and architecture identification macros.
00011 //
00012 // NOTE: This file may be included from both C++ and C code, so it
00013 //       must not contain any C++ specific things.
00014 //
00015 // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
00016 // and Contributors.
00017 //
00018 // Permission is hereby granted, free of charge, to any person or organization
00019 // obtaining a copy of the software and accompanying documentation covered by
00020 // this license (the "Software") to use, reproduce, display, distribute,
00021 // execute, and transmit the Software, and to prepare derivative works of the
00022 // Software, and to permit third-parties to whom the Software is furnished to
00023 // do so, all subject to the following:
00024 //
00025 // The copyright notices in the Software and this entire statement, including
00026 // the above license grant, this restriction and the following disclaimer,
00027 // must be included in all copies of the Software, in whole or in part, and
00028 // all derivative works of the Software, unless such copies or derivative
00029 // works are solely in the form of machine-executable object code generated by
00030 // a source language processor.
00031 //
00032 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00033 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00034 // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
00035 // SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
00036 // FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
00037 // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
00038 // DEALINGS IN THE SOFTWARE.
00039 //
00040 
00041 #ifndef Foundation_Platform_INCLUDED
00042 #define Foundation_Platform_INCLUDED
00043 
00044 //
00045 // Platform Identification
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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:10