summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-03-25 19:38:31 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-03-25 19:38:31 +0000
commit6f101e7c4ffa65869c101f520d143d09880bd07b (patch)
tree17cd7bf497c093429256436ec894ac6f43fa1a46 /acconfig.h
parent369d75b891798d182bfca561802c7ba9f9a4ed0c (diff)
downloadATCD-6f101e7c4ffa65869c101f520d143d09880bd07b.tar.gz
* Makefile.am (ACE.ifnames):
Placed rule generation of ACE.ifnames within a MAINTAINER_MODE automake conditional. If a `--enable-maintainer-mode' option isn't given on the configure script command line then don't generate a new `ACE.ifnames' file. * configure.in: Added AM_MAINTAINER_MODE so that maintainer level Makefile features are disabled by default. * acconfig.h: Added ACE_HAS_BROKEN_MAP_FAILED macro for platforms that do not cast MAP_FAILED to a (void *). Defining this macro prevents compilers on those platforms from complaining about assigning an int to a (void *). Thanks to Roland Gigler <roland@mch.pn.siemens.de> for providing feedback about this.
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/acconfig.h b/acconfig.h
index af4839a404c..7b97fc28f5d 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -29,10 +29,6 @@
# undef _REENTRANT
#endif
-#ifndef _POSIX_C_SOURCE
-# undef _POSIX_C_SOURCE
-#endif
-
#ifndef _POSIX_THREADS
# undef _POSIX_THREADS
#endif
@@ -242,16 +238,13 @@
/* typedef for ACE_UINT64 */
/*
- We only make the typedef if ACE_UINT64_TYPEDEF is defined and
- ACE_LACKS_LONGLONG_T isn't defined . Otherwise,
- let ace/Basic_Types.h do the work for us. ACE_UINT64_TYPEDEF is
- defined during the initial configuration process if a 64 bit unsigned int
- was found.
+ We only make the typedef if ACE_UINT64_TYPEDEF is defined. Otherwise,
+ let ace/Basic_Types.h do the work for us.
*/
#undef ACE_UINT64_TYPEDEF
#if defined(ACE_UINT64_TYPEDEF)
- typedef ACE_UINT64_TYPEDEF ACE_UINT64;
-#endif /* ACE_UINT64_TYPEDEF */
+ typedef ACE_UINT64_TYPEDEF ACE_UINT64;
+#endif /* ACE_UINT64_TYPEDEF && !ACE_DISABLE_AUTOCONF_UINT64 */
/* Enable ACE inlining */
#undef __ACE_INLINE__
@@ -359,6 +352,9 @@
See "ace/OS.h" for details. */
#undef ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR
+/* Platform doesn't cast MAP_FAILED to a (void *). */
+#undef ACE_HAS_BROKEN_MAP_FAILED
+
/* Compiler/platform doesn't support namespaces (or the support is not fully
implemented.) */
#undef ACE_HAS_BROKEN_NAMESPACES