diff options
-rw-r--r-- | ace/config-linux-common.h | 22 | ||||
-rw-r--r-- | ace/config-linux.h | 15 |
2 files changed, 28 insertions, 9 deletions
diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h new file mode 100644 index 00000000000..cf37204c830 --- /dev/null +++ b/ace/config-linux-common.h @@ -0,0 +1,22 @@ +/* -*- C++ -*- */ +// $Id$ + +// This configuration file is designed to be included by another, +// specific configuration file. It provides config information common +// to all Linux platforms. + +#if !defined (ACE_LINUX_COMMON_H) +#define ACE_LINUX_COMMON_H + +#if defined (__alpha__) +# define ACE_HAS_64BIT_LONGS + +// The following might only be necessary on Alpha? +# define ACE_HAS_DLFCN_H_BROKEN_EXTERN_C +# define ACE_HAS_SIGWAIT +# define ACE_HAS_SIZET_SOCKET_LEN +# define ACE_LACKS_RPC_H +# define ACE_NEEDS_SYSTIME_H +#endif /* __alpha__ */ + +#endif /* ACE_LINUX_COMMON_H */ diff --git a/ace/config-linux.h b/ace/config-linux.h index a4fd8956e81..a288d209cc5 100644 --- a/ace/config-linux.h +++ b/ace/config-linux.h @@ -7,6 +7,8 @@ #if !defined (ACE_CONFIG_H) #define ACE_CONFIG_H +#include "ace/config-linux-common.h" + #if ! defined (__ACE_INLINE__) #define __ACE_INLINE__ #endif /* ! __ACE_INLINE__ */ @@ -23,6 +25,10 @@ # define ACE_HAS_PENTIUM #endif /* i386 */ +#if defined (__alpha__) +# define ACE_HAS_64BIT_LONGS +#endif /* __alpha__ */ + // ONLY define this if you have config'd multicast into a 2.x kernel. // If you do anything else, we've never tested it! #define ACE_HAS_IP_MULTICAST @@ -126,13 +132,4 @@ // Compiler doesn't support static data member templates. #define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES -// I added the following to support building on RedHat 4.2/Linux 2.0.30/Alpha. -// Please let me know if any of these are inconsistent with other Linux -// platforms. David <levine@cs.wustl.edu> -#define ACE_HAS_DLFCN_H_BROKEN_EXTERN_C -#define ACE_HAS_SIGWAIT -#define ACE_HAS_SIZET_SOCKET_LEN -#define ACE_LACKS_RPC_H -#define ACE_NEEDS_SYSTIME_H - #endif /* ACE_CONFIG_H */ |