summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-03-23 21:38:55 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-03-23 21:38:55 +0000
commit7fde3cbd2d110f8e7ed01480f865766e51577b19 (patch)
tree5368d4463b05cd773bc5b5c21639ad8376e35d0c /acconfig.h
parent521a5a3488c594588ea5f432e9152fd254e94ee6 (diff)
downloadATCD-7fde3cbd2d110f8e7ed01480f865766e51577b19.tar.gz
* configure.in: Fixed the test for ACE_TEMPLATES_REQUIRE_SOURCE.
Thanks to Carlos for his help on this. Removed the test for ACE_HAS_BROKEN_T_ERRNO since it is no longer needed due to the above change. * acconfig.h: * configure.in: Removed all references to ACE_HAS_BROKEN_T_ERRNO and removed the definition of the _terrno() function from TLI.cpp since it isn't a standard TLI function (at least not the Steven's books that I've read). This also fixes a problem on Solaris that was causing an autoconfigured build of TLI.cpp to fail.
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/acconfig.h b/acconfig.h
index 011fd991524..af4839a404c 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -29,6 +29,10 @@
# undef _REENTRANT
#endif
+#ifndef _POSIX_C_SOURCE
+# undef _POSIX_C_SOURCE
+#endif
+
#ifndef _POSIX_THREADS
# undef _POSIX_THREADS
#endif
@@ -42,8 +46,8 @@
# undef _POSIX_PTHREAD_SEMANTICS
#endif
-/* Some platforms require _GNU_SOURCE to be defined to make some functions
- declaration "visible." */
+/* Some platforms require _GNU_SOURCE to be defined to make some function
+ prototypes "visible." */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
@@ -410,9 +414,6 @@
prototype. */
#undef ACE_HAS_BROKEN_SETRLIMIT
-/* Platform doesn't define _terrno() even though it should (only for TLI) */
-#undef ACE_HAS_BROKEN_T_ERRNO
-
/* platform define struct timespec members as ts_sec and ts_nsec instead of
tv_sec and tv_nsec. This is highly non-portable. Currently only
FreeBSD 2.1.x uses it. */