aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/config-win32-interix.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/ACE_wrappers/ace/config-win32-interix.h')
-rw-r--r--dep/ACE_wrappers/ace/config-win32-interix.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/config-win32-interix.h b/dep/ACE_wrappers/ace/config-win32-interix.h
index 58b7bf74fc5..71f521af45a 100644
--- a/dep/ACE_wrappers/ace/config-win32-interix.h
+++ b/dep/ACE_wrappers/ace/config-win32-interix.h
@@ -1,11 +1,14 @@
// -*- C++ -*-
// $Id: config-win32-interix.h 80826 2008-03-04 14:51:23Z wotte $
+
// The following configuration file is designed to work for Interix
// platforms using GNU g++ (Interix == Microsoft's Services for Unix)
+
#ifndef ACE_CONFIG_WIN32_INTERIX_H
#define ACE_CONFIG_WIN32_INTERIX_H
#include /**/ "ace/pre.h"
#include <arpa/inet.h>
+
# define ACE_LACKS_SENDMSG
# define ACE_LACKS_RECVMSG
# define ACE_LACKS_STDINT_H
@@ -23,8 +26,11 @@
# define ACE_HAS_NONCONST_SELECT_TIMEVAL
# define ACE_HAS_SIGWAIT
# define ACE_HAS_SIGINFO_T
+
#include "ace/config-g++-common.h"
+
#define ACE_HAS_NEW_NOTHROW // Need to know 'new's failure semantics.
+
#if defined (ACE_HAS_THREADS)
#define ACE_HAS_THREADS
#define ACE_HAS_PTHREADS
@@ -36,11 +42,14 @@
#else
error "You need to enable threads for this Interix port."
#endif /* ACE_HAS_THREADS */
+
// INTERIX has the following, just an issue with porting for the moment
#define ACE_LACKS_ACCESS
// END INTERIX has the following....
+
#define ACE_SIZEOF_LONG_DOUBLE 12
#define ACE_PAGE_SIZE 4096
+
#define ACE_HAS_SYSV_IPC
#define ACE_HAS_SVR4_SIGNAL_T
#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
@@ -61,10 +70,12 @@
#define ACE_HAS_UALARM
#define ACE_HAS_TERMIOS
#define ACE_HAS_SIGWAIT
+
// Turns off the tracing feature.
#if !defined (ACE_NTRACE)
#define ACE_NTRACE 1
#endif /* ACE_NTRACE */
+
// NOTE: In debugging some of the test apps they would all memory fault in using
// ACE_Errno_Guard. Upon inspection of that code it uses TSS to save ERRNO in
// a TSS pointer. Access to that pointer caused the fault. The work around here
@@ -75,8 +86,10 @@
// however while many test programs that use TSS pass the TSS_Test program fails.
#define ACE_HAS_THREAD_SPECIFIC_STORAGE // We need thread specific storage even though...
#define ACE_HAS_TSS_EMULATION // It would appear to be broken in Interix!
+
#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_WIN32_INTERIX_H */
+
/*
The following tests do not run.
Dynamic_Priority_Test.log ACE_HAS_TIMED_MESSAGE_BLOCKS
@@ -85,3 +98,4 @@ IOStream_Test.log ACE_IOSTREAM not supported on this platform
*/
+