summaryrefslogtreecommitdiff
path: root/ace/config-lynxos.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-19 17:00:31 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-19 17:00:31 +0000
commit8a798803c6306ce64fee0cbfccf5d9cbd8249841 (patch)
tree145b0bc4bc863d1ffccea9b594c858cf64540c3b /ace/config-lynxos.h
parent96175bf7d167da3d774bf43a86dd71b1022edd4a (diff)
downloadATCD-8a798803c6306ce64fee0cbfccf5d9cbd8249841.tar.gz
added ACE_HAS_SHM_OPEN, and map ACE_MAP_PRIVATE to ACE_MAP_SHARED
Diffstat (limited to 'ace/config-lynxos.h')
-rw-r--r--ace/config-lynxos.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/ace/config-lynxos.h b/ace/config-lynxos.h
index 4d840cea894..8f11bb2eb92 100644
--- a/ace/config-lynxos.h
+++ b/ace/config-lynxos.h
@@ -20,15 +20,11 @@
#define __NO_INCLUDE_WARN__
#define ACE_LACKS_GETOPT_PROTO
+#define ACE_HAS_SHM_OPEN
+// LynxOS 2.5.0 does not support MAP_PRIVATE, so map it to MAP_SHARED
+#define ACE_MAP_PRIVATE ACE_MAP_SHARED
#define ACE_HAS_STDARG_THR_DEST
-// ACE_HAS_EXCEPTIONS requires -fhandle-exceptions, but that gives
-// g++ 2.7.2 fits: it spits out all kinds of warnings that it doesn't
-// without that option (and that are just wrong), and runs out of
-// virtual memory when trying to compile ace/Log_Msg.cpp.
-// So until -fhandle-exceptions gets fixed, we can't use this with g++ . . .
-// #define ACE_HAS_EXCEPTIONS
-
// Platform supports System V IPC (most versions of UNIX, but not Win32)
#define ACE_HAS_SYSV_IPC
@@ -41,11 +37,7 @@
#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
-// Platform supports reentrant functions (i.e., all the POSIX *_r functions).
-//#define ACE_HAS_REENTRANT_FUNCTIONS
-
-// Denotes that GNU has cstring.h as standard
-// which redefines memchr()
+// Denotes that GNU has cstring.h as standard, which redefines memchr()
#define ACE_HAS_GNU_CSTRING_H
// Compiler/platform correctly calls init()/fini() for shared libraries.
@@ -57,9 +49,6 @@
// Compiler/platform has correctly prototyped header files.
#define ACE_HAS_CPLUSPLUS_HEADERS
-// Compiler/platform supports SunOS high resolution timers.
-//#define ACE_HAS_HI_RES_TIMER
-
// ACE_HAS_CLOCK_GETTIME requires linking with -lposix4.
#define ACE_HAS_CLOCK_GETTIME
@@ -117,7 +106,6 @@
//Platform has si_addr, but its not supported currently
#define ACE_LACKS_SI_ADDR
-
// Compiler/platform provides the sockio.h file.
#define ACE_HAS_SOCKIO_H