aboutsummaryrefslogtreecommitdiff
path: root/externals/ace/config-vxworks.h
diff options
context:
space:
mode:
authorXanadu <none@none>2010-07-20 02:49:28 +0200
committerXanadu <none@none>2010-07-20 02:49:28 +0200
commit79622802f397258ee0f34327ba3ae6977ca3e7ff (patch)
tree1868946c234ab9ee256a6b7766a15713eae94235 /externals/ace/config-vxworks.h
parent7dd2dc91816ab8b3bc3b99a1b1c99c7ea314d5a8 (diff)
parentf906976837502fa5aa81b982b901d1509f5aa0c4 (diff)
Merge. Revision history for source files should be all back now.
--HG-- branch : trunk rename : sql/CMakeLists.txt => sql/tools/CMakeLists.txt rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
Diffstat (limited to 'externals/ace/config-vxworks.h')
-rw-r--r--externals/ace/config-vxworks.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/externals/ace/config-vxworks.h b/externals/ace/config-vxworks.h
new file mode 100644
index 00000000000..fd4e04193c0
--- /dev/null
+++ b/externals/ace/config-vxworks.h
@@ -0,0 +1,57 @@
+//* -*- C++ -*- */
+// $Id: config-vxworks.h 87036 2009-10-10 18:21:39Z johnnyw $
+
+// The following configuration file is designed to work for VxWorks
+// Based on ACE_VXWORKS it will select the correct config file
+
+#ifndef ACE_CONFIG_VXWORKS_H
+#define ACE_CONFIG_VXWORKS_H
+#include /**/ "ace/pre.h"
+
+// If ACE_VXWORKS is not defined try to figure out the VxWorks version
+#if !defined (ACE_VXWORKS)
+# include "vxWorks.h"
+# if !defined (_WRS_VXWORKS_MAJOR) && !defined (_WRS_VXWORKS_MINOR)
+# error You must define ACE_VXWORKS
+# else
+# if (_WRS_VXWORKS_MAJOR == 6)
+# if (_WRS_VXWORKS_MINOR == 0)
+# define ACE_VXWORKS 0x600
+# elif (_WRS_VXWORKS_MINOR == 1)
+# define ACE_VXWORKS 0x610
+# elif (_WRS_VXWORKS_MINOR == 2)
+# define ACE_VXWORKS 0x620
+# elif (_WRS_VXWORKS_MINOR == 3)
+# define ACE_VXWORKS 0x630
+# elif (_WRS_VXWORKS_MINOR == 4)
+# define ACE_VXWORKS 0x640
+# elif (_WRS_VXWORKS_MINOR == 5)
+# define ACE_VXWORKS 0x650
+# elif (_WRS_VXWORKS_MINOR == 6)
+# define ACE_VXWORKS 0x660
+# elif (_WRS_VXWORKS_MINOR == 7)
+# define ACE_VXWORKS 0x670
+# elif (_WRS_VXWORKS_MINOR == 8)
+# define ACE_VXWORKS 0x680
+# endif
+# endif
+# endif
+#endif /* ! ACE_VXWORKS */
+
+#if (ACE_VXWORKS == 0x640)
+# include "ace/config-vxworks6.4.h"
+#elif (ACE_VXWORKS == 0x650)
+# include "ace/config-vxworks6.5.h"
+#elif (ACE_VXWORKS == 0x660)
+# include "ace/config-vxworks6.6.h"
+#elif (ACE_VXWORKS == 0x670)
+# include "ace/config-vxworks6.7.h"
+#elif (ACE_VXWORKS == 0x680)
+# include "ace/config-vxworks6.8.h"
+#else
+#error Unknown or unsupported VxWorks version
+#endif
+
+#include /**/ "ace/post.h"
+#endif /* ACE_CONFIG_VXWORKS_H */
+