Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / ace / config-vxworks.h
blobe9b35930a2798fa2dd9739ddb567710c9e4484d6
1 //* -*- C++ -*- */
2 // The following configuration file is designed to work for VxWorks
3 // Based on ACE_VXWORKS it will select the correct config file
5 #ifndef ACE_CONFIG_VXWORKS_H
6 #define ACE_CONFIG_VXWORKS_H
7 #include /**/ "ace/pre.h"
9 // If ACE_VXWORKS is not defined try to figure out the VxWorks version
10 #if !defined (ACE_VXWORKS)
11 # include "vxWorks.h"
12 # if !defined (_WRS_VXWORKS_MAJOR) && !defined (_WRS_VXWORKS_MINOR)
13 # error You must define ACE_VXWORKS
14 # else
15 # if (_WRS_VXWORKS_MAJOR == 6)
16 # if (_WRS_VXWORKS_MINOR == 0)
17 # define ACE_VXWORKS 0x600
18 # elif (_WRS_VXWORKS_MINOR == 1)
19 # define ACE_VXWORKS 0x610
20 # elif (_WRS_VXWORKS_MINOR == 2)
21 # define ACE_VXWORKS 0x620
22 # elif (_WRS_VXWORKS_MINOR == 3)
23 # define ACE_VXWORKS 0x630
24 # elif (_WRS_VXWORKS_MINOR == 4)
25 # define ACE_VXWORKS 0x640
26 # elif (_WRS_VXWORKS_MINOR == 5)
27 # define ACE_VXWORKS 0x650
28 # elif (_WRS_VXWORKS_MINOR == 6)
29 # define ACE_VXWORKS 0x660
30 # elif (_WRS_VXWORKS_MINOR == 7)
31 # define ACE_VXWORKS 0x670
32 # elif (_WRS_VXWORKS_MINOR == 8)
33 # define ACE_VXWORKS 0x680
34 # elif (_WRS_VXWORKS_MINOR == 9)
35 # define ACE_VXWORKS 0x690
36 # endif
37 # elif (_WRS_VXWORKS_MAJOR == 7)
38 # define ACE_VXWORKS 0x700
39 # endif
40 # endif
41 #endif /* ! ACE_VXWORKS */
43 #if (ACE_VXWORKS == 0x640)
44 # include "ace/config-vxworks6.4.h"
45 #elif (ACE_VXWORKS == 0x650)
46 # include "ace/config-vxworks6.5.h"
47 #elif (ACE_VXWORKS == 0x660)
48 # include "ace/config-vxworks6.6.h"
49 #elif (ACE_VXWORKS == 0x670)
50 # include "ace/config-vxworks6.7.h"
51 #elif (ACE_VXWORKS == 0x680)
52 # include "ace/config-vxworks6.8.h"
53 #elif (ACE_VXWORKS == 0x690)
54 # include "ace/config-vxworks6.9.h"
55 #elif (ACE_VXWORKS == 0x700)
56 # include "ace/config-vxworks7.0.h"
57 #else
58 # error Unknown or unsupported VxWorks version
59 #endif
61 // Adapt to system argument changes added at VxWorks 6.9 and 64-bit.
62 // It would be nicer to typedef the data types, but without including the
63 // applicable VxWorks headers here, that doesn't work.
64 #if (ACE_VXWORKS < 0x690)
65 # define ACE_VX_USR_ARG_T int
66 # define ACE_VX_TASK_ID int
67 # define ACE_VX_ARG_FORMAT "%x"
68 # define ACE_VX_TASK_ID_ERROR ERROR
69 #else
70 # define ACE_VX_USR_ARG_T _Vx_usr_arg_t
71 # define ACE_VX_TASK_ID TASK_ID
72 # ifdef _WRS_CONFIG_LP64
73 # define ACE_VX_ARG_FORMAT "%lx"
74 # else
75 # define ACE_VX_ARG_FORMAT "%x"
76 # endif
77 # define ACE_VX_TASK_ID_ERROR TASK_ID_ERROR
78 #endif
80 #include /**/ "ace/post.h"
81 #endif /* ACE_CONFIG_VXWORKS_H */