summaryrefslogtreecommitdiff
path: root/ace/config-linux-common.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-05 17:29:07 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-05 17:29:07 +0000
commitb5cee408d922bb446c2a6baaec4fcf94b6735f0f (patch)
tree21fe9a6ee7eb7d97ecfcfb52d695149a8472ef1a /ace/config-linux-common.h
parentd905fdbbdbd7871b1f57b8521d335694e55bd488 (diff)
downloadATCD-b5cee408d922bb446c2a6baaec4fcf94b6735f0f.tar.gz
moved ACE_HAS_PENTIUM from config-linux-common.h to config-g++-common.h
Diffstat (limited to 'ace/config-linux-common.h')
-rw-r--r--ace/config-linux-common.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h
index afbcc2dce23..02a8c7ac4fa 100644
--- a/ace/config-linux-common.h
+++ b/ace/config-linux-common.h
@@ -23,15 +23,6 @@
// First the machine specific part
-#if defined (i386)
- // If running an Intel, assume that it's a Pentium so that
- // ACE_OS::gethrtime () can use the RDTSC instruction. If
- // running a 486 or lower, be sure to comment this out.
- // (If not running an Intel CPU, this #define will not be seen
- // because of the i386 protection, so it can be ignored.)
-# define ACE_HAS_PENTIUM
-#endif /* i386 */
-
// Then glibc/libc5 specific parts
@@ -117,6 +108,10 @@
#define ACE_HAS_LONG_FDMASK
+// To avoid the strangeness with Linux's ::select (), which modifies
+// its timeout argument, use ::poll () instead.
+#define ACE_HAS_POLL
+
#define ACE_HAS_STRING_CLASS
// Linux defines struct msghdr in /usr/include/socket.h