summaryrefslogtreecommitdiff
path: root/ace/config-mvs.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-25 08:21:01 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-25 08:21:01 +0000
commit16ae5e4bba62c9c43a6f9162a15e339854cd285f (patch)
tree7376043e9e545101ba507bf08685bf726e03e7d2 /ace/config-mvs.h
parentae3742d1d6afe6974dfb95acab3b7b99776f30a4 (diff)
downloadATCD-16ae5e4bba62c9c43a6f9162a15e339854cd285f.tar.gz
Later
Diffstat (limited to 'ace/config-mvs.h')
-rw-r--r--ace/config-mvs.h177
1 files changed, 177 insertions, 0 deletions
diff --git a/ace/config-mvs.h b/ace/config-mvs.h
new file mode 100644
index 00000000000..d9f7577c58a
--- /dev/null
+++ b/ace/config-mvs.h
@@ -0,0 +1,177 @@
+// The following configuration file is designed to work for MVS with
+// OpenEdition.
+
+#if !defined (ACE_CONFIG_H)
+#define ACE_CONFIG_H
+
+// The following #defines are hacks to get around things
+// that seem to be missing or different in MVS land
+#define MAXPATHLEN 1024 // sys/param.h not on MVS
+#define NSIG 44 // missing from Signal.h
+#define MAXHOSTNAMELEN 256 // missing form netdb.h
+#define howmany __howmany // MVS uses different names than most others
+#define fd_mask __fd_mask
+#define MAXNAMLEN __DIR_NAME_MAX
+
+// Compiler/platform uses macro for ctime
+#define ACE_HAS_BROKEN_CTIME
+
+// Prototypes for both signal() and struct sigaction are consistent.
+#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
+
+// Compiler/platform has correctly prototyped header files.
+#define ACE_HAS_CPLUSPLUS_HEADERS
+
+// Compiler supports the getrusage() system call
+#define ACE_HAS_GETRUSAGE
+
+// The pthread_create() routine *must* take extern C functions.
+#define ACE_HAS_THR_C_FUNC
+
+// The rusage_t structure has only two fields
+#define ACE_HAS_LIMITED_RUSAGE_T
+
+// Platform supports IP MULTICAST
+#define ACE_HAS_MULTICAST
+
+// Platform supports recvmsg and sendmsg.
+#define ACE_HAS_MSG
+
+// sigwait() takes on argument
+#define ACE_HAS_ONEARG_SIGWAIT
+
+// Compiler/platform supports poll().
+#define ACE_HAS_POLL
+
+// Platform supports POSIX O_NONBLOCK semantics.
+#define ACE_HAS_POSIX_NONBLOCK
+
+// Platform supports POSIX timers via timestruc_t.
+#define ACE_HAS_POSIX_TIME
+
+// Platform supports POSIX threads
+#define ACE_HAS_PTHREADS
+
+// Platform has pthread_condattr_setkind_np()
+#define ACE_HAS_PTHREAD_CONDATTR_SETKIND_NP
+
+// Platform has pthread_mutexattr_setkind_np()
+#define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP
+
+// Platform has pthread_equal()
+#define ACE_HAS_PTHREAD_EQUAL
+
+// Platform has struct pthread_t
+#define ACE_HAS_PTHREAD_T
+
+// pthread_getspecific() takes a data pointer for 2nd argument
+#define ACE_HAS_PTHREAD_GETSPECIFIC_DATAPTR
+
+// pthread_attr_setdetachstate() takes pointer to 2nd arg
+#define ACE_HAS_PTHREAD_DSTATE_PTR
+
+// Platform has sigwait prototype
+#define ACE_HAS_SIGWAIT
+
+// Compiler/platform defines the sig_atomic_t typedef
+#define ACE_HAS_SIG_ATOMIC_T
+
+// Compiler has siginfo_t typedef
+#define ACE_HAS_SIGINFO_T
+
+// Platform supports inet_addr len field.
+#define ACE_HAS_SIN_LEN
+
+// Compiler uses size_t rather than in for socket lenghts
+#define ACE_HAS_SIZET_SOCKET_LEN
+
+// Compiler supports the ssize_t typedef.
+#define ACE_HAS_SSIZE_T
+
+// Compiler/platform supports strerror ().
+#define ACE_HAS_STRERROR
+
+// Platform has strings.h
+#define ACE_HAS_STRINGS
+
+// Platform supports System V IPC
+#define ACE_HAS_SYSV_IPC
+
+// Compiler implements templates that support typedefs inside
+// of classes used as formal arguments
+//#define ACE_HAS_TEMPLATE_TYPEDEFS
+
+// Platform/compiler supports timezone * as second parameter to gettimeofday()
+#define ACE_HAS_TIMEZONE_GETTIMEOFDAY
+
+// Platform supports threads
+#define ACE_HAS_THREADS
+
+// Platform/compiler has thread-specific storage
+#define ACE_HAS_THREAD_SPECIFIC_STORAGE
+
+// Platform has the sid_t type
+#define ACE_HAS_TID_T
+
+// Platform has utime.h
+#define ACE_HAS_UTIME
+
+// Platform uses void * arg 1 for mmap()
+#define ACE_HAS_VOIDPTR_MMAP
+
+// Platform uses void * arg 4 for setsockopt()
+#define ACE_HAS_VOIDPTR_SOCKOPT
+
+// Platform requrires pthread_yield() to take a NULL
+#define ACE_HAS_YIELD_VOID_PTR
+
+// Platform doesn't have pthread_condattr_setpshared()
+#define ACE_LACKS_CONDATTR_PSHARED
+
+// Platform doesn't have pthread_key_delete()
+#define ACE_LACKS_KEYDELETE
+
+// Platform doesn't have madvise()
+#define ACE_LACKS_MADVISE
+
+// Platform doesn't have malloc.h
+#define ACE_LACKS_MALLOC_H
+
+// Platform doesn't have struct msgbuf_t
+#define ACE_LACKS_MSGBUF_T
+
+// Platform doesn't have <sys/param.h>
+#define ACE_LACKS_PARAM_H
+
+// Platform doesn't have pthread_setsched() and friends.
+#define ACE_LACKS_SETSCHED
+
+// Compiler doesn't have <siginfo.h>
+#define ACE_LACKS_SIGINFO_H
+
+// Platform doesn't define struct strrecvfd
+#define ACE_LACKS_STRRECVFD
+
+// Platform doesn't have pthread_attr_setscope()
+#define ACE_LACKS_THREAD_PROCESS_SCOPING
+
+// Platform doesn't have pthread_attr_setstackaddr()
+#define ACE_LACKS_THREAD_STACK_ADDR
+
+// Compiler doesn't have <ucontext.h>
+#define ACE_LACKS_UCONTEXT_H
+
+// Compile using multi-threaded libraries
+#define ACE_MT_SAFE
+
+// <time.h> doesn't automatically #include <sys/time.h>
+#define ACE_NEEDS_SYSTIME_H
+
+// Defines the page size of the system.
+#define ACE_PAGE_SIZE 4096
+
+#if !defined (ACE_NTRACE)
+#define ACE_NTRACE 1
+#endif /* ACE_NTRACE */
+
+#endif /* ACE_CONFIG_H */