PageRenderTime 59ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/dep/acelite/ace/config-unixware-7.1.0.udk.h

https://github.com/Plusultra/asjdhsajEMU
C Header | 457 lines | 147 code | 133 blank | 177 comment | 1 complexity | da0f58975b570274a9f2b867bcc7ff73 MD5 | raw file
  1. /* -*- C++ -*- */
  2. #ifndef ACE_CONFIG_UNIXWARE_UDK_H
  3. #define ACE_CONFIG_UNIXWARE_UDK_H
  4. // $Id: config-unixware-7.1.0.udk.h 87167 2009-10-19 19:33:53Z olli $
  5. // Configuration for the unixware UDK compiler. derived from the unixware/g++ config
  6. // which was itself derived from an autoconfig run.
  7. /* ACE configuration header file */
  8. #define ACE_TEMPLATES_REQUIRE_SOURCE
  9. #ifndef UNIXWARE_7_1
  10. #define UNIXWARE_7_1
  11. #endif
  12. #define ACE_LACKS_PLACEMENT_OPERATOR_DELETE
  13. /* Define if you have the strftime function. */
  14. #define HAVE_STRFTIME 1
  15. /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
  16. #define HAVE_SYS_WAIT_H 1
  17. /* Define if you have the ANSI C header files. */
  18. #define STDC_HEADERS 1
  19. /* Define if lex declares yytext as a char * by default, not a char[]. */
  20. #define YYTEXT_POINTER 1
  21. /* Define _REENTRANT if reentrant functions should be used. */
  22. #ifndef _REENTRANT
  23. # define _REENTRANT 1
  24. #endif
  25. #define ACE_HAS_NEW_NO_H 1
  26. #define ACE_HAS_STDEXCEPT_NO_H 1
  27. /*
  28. * TODO: These two next #defines have an #undef before them, in
  29. * case the variable being defined already had a value.
  30. * The #undefs are being picked up by configure, and are commented out!
  31. */
  32. #define ACE_THREAD_MIN_PRIORITY 0
  33. #if defined (ACE_THREAD_MIN_PRIORITY)
  34. /* # undef PTHREAD_MIN_PRIORITY */
  35. # define PTHREAD_MIN_PRIORITY ACE_THREAD_MIN_PRIORITY
  36. #endif /* #if defined (ACE_THREAD_MIN_PRIORITY) */
  37. #define ACE_THREAD_MAX_PRIORITY 99
  38. #if defined (ACE_THREAD_MAX_PRIORITY)
  39. /* # undef PTHREAD_MAX_PRIORITY */
  40. # define PTHREAD_MAX_PRIORITY ACE_THREAD_MAX_PRIORITY
  41. #endif /* #if defined (ACE_THREAD_MAX_PRIORITY) */
  42. /* UnixWare specific configuration parameters */
  43. /* #undef UNIXWARE */
  44. /* #undef UNIXWARE_2_0 */
  45. /* #undef UNIXWARE_2_1 */
  46. /* Specify sizes of given built-in types. If a size isn't defined here,
  47. then ace/Basic_Types.h will attempt to deduce the size. */
  48. /* #undef ACE_SIZEOF_CHAR */
  49. #define ACE_SIZEOF_SHORT 2
  50. #define ACE_SIZEOF_INT 4
  51. #define ACE_SIZEOF_LONG 4
  52. #define ACE_SIZEOF_LONG_LONG 8
  53. #define ACE_SIZEOF_VOID_P 4
  54. #define ACE_SIZEOF_FLOAT 4
  55. #define ACE_SIZEOF_DOUBLE 8
  56. #define ACE_SIZEOF_LONG_DOUBLE 12
  57. /* Enable ACE inlining */
  58. #define __ACE_INLINE__ 1
  59. /* Platform supports Asynchronous IO calls */
  60. /* #define ACE_HAS_AIO_CALLS */
  61. /* Specify this if you don't want threads to inherit parent thread's
  62. ACE_Log_Msg properties. */
  63. /* #undef ACE_THREADS_DONT_INHERIT_LOG_MSG */
  64. /* OS has priocntl (2) */
  65. #define ACE_HAS_PRIOCNTL 1
  66. /* Platform has pread() and pwrite() support */
  67. #define ACE_HAS_P_READ_WRITE 1
  68. /* Compiler/platform correctly calls init()/fini() for shared libraries */
  69. #define ACE_HAS_AUTOMATIC_INIT_FINI 1
  70. /* Compiler handles explicit calling of template destructor correctly.
  71. See "ace/OS.h" for details. */
  72. /* Staller: already defined by config-g++-common.h
  73. #define ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR 1
  74. */
  75. /* Platform doesn't cast MAP_FAILED to a (void *). */
  76. /* #undef ACE_HAS_BROKEN_MAP_FAILED */
  77. /* Staller: oh yes, let's do this! */
  78. #define ACE_HAS_BROKEN_MAP_FAILED
  79. /* Prototypes for both signal() and struct sigaction are consistent. */
  80. #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1
  81. /* Compiler/platform has correctly prototyped header files */
  82. #define ACE_HAS_CPLUSPLUS_HEADERS
  83. /* Platform supports operations on directories via struct dirent,
  84. readdir_r, etc. */
  85. #define ACE_HAS_DIRENT
  86. /* Compiler supports C++ exception handling */
  87. # if !defined (ACE_HAS_EXCEPTIONS)
  88. #define ACE_HAS_EXCEPTIONS
  89. # endif
  90. /* Platform supports getpagesize() call (otherwise, ACE_PAGE_SIZE must be
  91. defined, except on Win32) */
  92. #define ACE_HAS_GETPAGESIZE
  93. /* Platform supports the getrusage() system call. */
  94. #define ACE_HAS_GETRUSAGE
  95. /* Platform has a getrusage () prototype in sys/resource.h that differs from
  96. the one in ace/OS.i. */
  97. #define ACE_HAS_GETRUSAGE_PROTOTYPE
  98. /* The GPERF utility is compiled for this platform */
  99. #define ACE_HAS_GPERF
  100. /* Optimize ACE_Handle_Set::count_bits for select() operations (common case) */
  101. #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT 1
  102. /* Compiler/platform supports SunOS high resolution timers */
  103. /* #undef ACE_HAS_HI_RES_TIMER */
  104. /* Compiler/platform supports idtype_t. */
  105. #define ACE_HAS_IDTYPE_T
  106. /* Inline all the static class OS methods to remove call overhead */
  107. /* Note: This gets defined by OS.h if __ACE_INLINE__ is defined */
  108. /* #undef ACE_HAS_INLINED_OSCALLS */
  109. /* Platform supports IP multicast */
  110. #define ACE_HAS_IP_MULTICAST
  111. /* Platform supports thr_keydelete (e.g,. UNIXWARE) */
  112. #define ACE_HAS_THR_KEYDELETE
  113. /* Platform calls thr_minstack() rather than thr_min_stack() (e.g., Tandem). */
  114. #define ACE_HAS_THR_MINSTACK
  115. /* Some files, such as ace/streams.h, want to include new style C++ stream
  116. headers. These headers are iomanip, ios, iostream, istream, ostream,
  117. fstream and streambuf. If _all_ of these headers aren't available, then
  118. assume that only iostream.h and fstream.h are available. */
  119. /* #define ACE_USES_OLD_IOSTREAMS */
  120. /* Platform supports recvmsg and sendmsg */
  121. #define ACE_HAS_MSG
  122. /* Platform's select() uses non-const timeval* (only found on Linux right
  123. now) */
  124. #define ACE_HAS_NONCONST_SELECT_TIMEVAL
  125. /* Uses ctime_r & asctime_r with only two parameters vs. three. */
  126. #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
  127. /* Platform is an Intel Pentium microprocessor. */
  128. /* There is a problem with the gethrtime() because of (apparently) a problem
  129. with the inline assembly instruction. Hopefully there is a way to resolve
  130. that with an improvement to the assembler
  131. */
  132. #ifdef ACE_HAS_PENTIUM
  133. //#undef ACE_HAS_PENTIUM
  134. #endif /* ACE_HAS_PENTIUM */
  135. /* Platform contains <poll.h> */
  136. #define ACE_HAS_POLL
  137. /* Platform supports POSIX O_NONBLOCK semantics */
  138. #define ACE_HAS_POSIX_NONBLOCK
  139. /* Platform supports the POSIX struct timespec type */
  140. #define ACE_HAS_POSIX_TIME
  141. /* Platform supports the /proc file system and defines tid_t
  142. in <sys/procfs.h> */
  143. #define ACE_HAS_PROC_FS
  144. /* Platform supports POSIX Threads */
  145. #define ACE_HAS_PTHREADS
  146. /* pthread.h declares an enum with PTHREAD_PROCESS_PRIVATE and
  147. PTHREAD_PROCESS_SHARED values */
  148. #define ACE_HAS_PTHREAD_PROCESS_ENUM
  149. /* Platform will recurse infinitely on thread exits from TSS cleanup routines
  150. (e.g., AIX) */
  151. #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS
  152. /* Platform supports reentrant functions (i.e., all the POSIX *_r
  153. functions). */
  154. #define ACE_HAS_REENTRANT_FUNCTIONS
  155. /* Platform has support for multi-byte character support compliant with the
  156. XPG4 Worldwide Portability Interface wide-character classification. */
  157. #define ACE_HAS_XPG4_MULTIBYTE_CHAR
  158. /* Platform does not support reentrant netdb functions (getprotobyname_r,
  159. getprotobynumber_r, gethostbyaddr_r, gethostbyname_r, getservbyname_r). */
  160. #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS
  161. /* Platform supports the POSIX regular expression library */
  162. #define ACE_HAS_REGEX
  163. /* Platform has special header for select(). */
  164. #define ACE_HAS_SELECT_H
  165. /* Platform has a function to set t_errno (e.g., Tandem). */
  166. #define ACE_HAS_SET_T_ERRNO
  167. /* Platform supports SVR4 extended signals */
  168. #define ACE_HAS_SIGINFO_T
  169. /* Platform/compiler has the sigwait(2) prototype */
  170. #define ACE_HAS_SIGWAIT
  171. /* Compiler/platform defines the sig_atomic_t typedef */
  172. #define ACE_HAS_SIG_ATOMIC_T
  173. /* Platform supports new BSD inet_addr len field. */
  174. #define ACE_HAS_SOCKADDR_IN_SIN_LEN
  175. /* OS/compiler uses size_t * rather than int * for socket lengths */
  176. #define ACE_HAS_SIZET_SOCKET_LEN
  177. /* Compiler/platform provides the sys/sockio.h file */
  178. #define ACE_HAS_SYS_SOCKIO_H
  179. /* Compiler supports the ssize_t typedef */
  180. #define ACE_HAS_SSIZE_T
  181. /* Platform supports UNIX International Threads */
  182. #define ACE_HAS_STHREADS
  183. /* Platform has thr_yield() */
  184. #define ACE_HAS_THR_YIELD
  185. /* Platform/compiler supports Standard C++ Library */
  186. /* It seems that UDK provides std-like declarations for only portions
  187. such as <exception>
  188. */
  189. #define ACE_HAS_STANDARD_CPP_LIBRARY 0
  190. /* Compiler/platform supports struct strbuf */
  191. #define ACE_HAS_STRBUF_T
  192. /* Platform supports STREAMS */
  193. #define ACE_HAS_STREAMS
  194. /* Platform supports STREAM pipes */
  195. #define ACE_HAS_STREAM_PIPES
  196. /* Platform/Compiler supports a String class (e.g., GNU or Win32). */
  197. #define ACE_HAS_STRING_CLASS
  198. /* Platform has <strings.h> (which contains bzero() prototype) */
  199. #define ACE_HAS_STRINGS
  200. /* Platform/compiler supports void * as second parameter to gettimeofday(). */
  201. #define ACE_HAS_VOIDPTR_GETTIMEOFDAY
  202. /* Compiler/platform supports SVR4 dynamic linking semantics */
  203. #define ACE_HAS_SVR4_DYNAMIC_LINKING
  204. /* Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff)... */
  205. #define ACE_HAS_SVR4_TLI
  206. /* Compiler/platform contains the <sys/syscall.h> file. */
  207. #define ACE_HAS_SYS_SYSCALL_H
  208. /* Platform supports system configuration information */
  209. #define ACE_HAS_SYS_SYSTEMINFO_H
  210. #define ACE_HAS_SYSV_SYSINFO 1
  211. /* Platform supports System V IPC (most versions of UNIX, but not Win32) */
  212. #define ACE_HAS_SYSV_IPC 1
  213. /* Platform provides <sys/filio.h> header */
  214. #define ACE_HAS_SYS_FILIO_H 1
  215. /* Platform provides <sys/xti.h> header */
  216. #define ACE_HAS_SYS_XTI_H 1
  217. /* Compiler implements templates that support typedefs inside of classes used
  218. as formal arguments to a template class. */
  219. #define ACE_HAS_TEMPLATE_TYPEDEFS 1
  220. /* Platform has POSIX terminal interface. */
  221. #define ACE_HAS_TERMIOS 1
  222. /* Platform supports threads */
  223. #define ACE_HAS_THREADS 1
  224. /* Compiler/platform has thread-specific storage */
  225. #define ACE_HAS_THREAD_SPECIFIC_STORAGE 1
  226. /* Platform supports TLI timod STREAMS module */
  227. #define ACE_HAS_TIMOD_H 1
  228. /* Platform supports TLI tiuser header */
  229. #define ACE_HAS_TIUSER_H 1
  230. /* Platform supports TLI. Also see ACE_TLI_TCP_DEVICE. */
  231. #define ACE_HAS_TLI 1
  232. /* Platform provides TLI function prototypes */
  233. #define ACE_HAS_TLI_PROTOTYPES 1
  234. /* Platform supports ualarm() */
  235. #define ACE_HAS_UALARM 1
  236. /* Platform supports ucontext_t (which is used in the extended signal API). */
  237. #define ACE_HAS_UCONTEXT_T 1
  238. /* Platform has <utime.h> header file */
  239. #define ACE_HAS_UTIME 1
  240. /* Prints out console message in ACE_NOTSUP. Useful for tracking down origin
  241. of ACE_NOTSUP. */
  242. /* #undef ACE_HAS_VERBOSE_NOTSUP */
  243. /* Platform requires void * for mmap(). */
  244. #define ACE_HAS_VOIDPTR_MMAP 1
  245. /* Platform has XTI (X/Open-standardized superset of TLI). Implies
  246. ACE_HAS_TLI but uses a different header file. */
  247. #define ACE_HAS_XTI 1
  248. /* Platform can not build ace/IOStream{,_T}.cpp. This does not necessarily
  249. mean that the platform does not support iostreams. */
  250. #define ACE_LACKS_ACE_IOSTREAM 1
  251. /* Platform does not have u_longlong_t typedef */
  252. #define ACE_LACKS_U_LONGLONG_T 1
  253. /* Platform lacks madvise() (e.g., Linux) */
  254. #define ACE_LACKS_MADVISE 1
  255. /* Platform lacks pri_t (e.g., Tandem NonStop UNIX). */
  256. #define ACE_LACKS_PRI_T 1
  257. /* Platform lacks pthread_thr_sigsetmask (e.g., MVS, HP/UX, and OSF/1 3.2) */
  258. #define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1
  259. /* Platfrom lack pthread_yield() support. */
  260. #define ACE_LACKS_PTHREAD_YIELD 1
  261. /* Platform lacks readers/writer locks. */
  262. #define ACE_LACKS_RWLOCK_T 1
  263. /* MIT pthreads platform lacks the timedwait prototypes */
  264. #define ACE_LACKS_TIMEDWAIT_PROTOTYPES 1
  265. /* Platform does not define timepec_t as a typedef for struct timespec. */
  266. #define ACE_LACKS_TIMESPEC_T 1
  267. /* Compile using multi-thread libraries */
  268. #define ACE_MT_SAFE 1
  269. /* Platform needs to #include <sched.h> to get thread scheduling defs. */
  270. #define ACE_NEEDS_SCHED_H 1
  271. /* The OS/platform supports the poll() event demultiplexor */
  272. #define ACE_USE_POLL 1
  273. /* Platform has its standard c++ library in the namespace std. */
  274. #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1
  275. /* The number of bytes in a double. */
  276. #define SIZEOF_DOUBLE 8
  277. /* The number of bytes in a float. */
  278. #define SIZEOF_FLOAT 4
  279. /* The number of bytes in a int. */
  280. #define SIZEOF_INT 4
  281. /* The number of bytes in a long. */
  282. #define SIZEOF_LONG 4
  283. /* The number of bytes in a long double. */
  284. #define SIZEOF_LONG_DOUBLE 12
  285. /* The number of bytes in a long long. */
  286. #define SIZEOF_LONG_LONG 8
  287. /* The number of bytes in a short. */
  288. #define SIZEOF_SHORT 2
  289. /* The number of bytes in a signed char. */
  290. #define SIZEOF_SIGNED_CHAR 1
  291. /* The number of bytes in a void *. */
  292. #define SIZEOF_VOID_P 4
  293. /* Define if you have the execv function. */
  294. #define HAVE_EXECV 1
  295. /* Define if you have the execve function. */
  296. #define HAVE_EXECVE 1
  297. /* Define if you have the execvp function. */
  298. #define HAVE_EXECVP 1
  299. /* Define if you have the <dirent.h> header file. */
  300. #define HAVE_DIRENT_H 1
  301. /* Define if you have the <fstream> header file. */
  302. #define HAVE_FSTREAM 1
  303. /* Define if you have the <iomanip> header file. */
  304. #define HAVE_IOMANIP 1
  305. /* Define if you have the <iostream> header file. */
  306. #define HAVE_IOSTREAM 1
  307. /* Define if you have the <pwd.h> header file. */
  308. #define HAVE_PWD_H 1
  309. /* Name of package */
  310. #define PACKAGE "ace"
  311. /* Version number of package */
  312. #define VERSION "4.6.37"
  313. /* Added by Staller */
  314. #define ENUM_BOOLEAN // See file /usr/local/lib/gcc-lib/i486-pc-sysv5/egcs-2.91.60/include/sys/types.h
  315. /* Hat nix gebracht
  316. #define ACE_DEFAULT_SELECT_REACTOR_SIZE 256 // this is like in linux config fileto avoid another error
  317. */
  318. #define howmany(x, y) (((x)+((y)-1))/(y))
  319. #define ACE_HAS_BROKEN_T_ERROR // let disappear a nasty warning from OS.i
  320. #if !defined (__USLC__)
  321. # define __USLC__ 1
  322. #endif
  323. #define __IOCTL_VERSIONED__ // By Carlo!
  324. #endif /* ACE_UNIXWARE_UDK_H */