summaryrefslogtreecommitdiff
path: root/ace/config-vxworks5.x.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-05 19:21:44 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-05 19:21:44 +0000
commitcf7d0e8777cf5474cbe1859bff004d5ef9de41b0 (patch)
treee9d87d4db752636be2452e1df5695b75cc3e3a7a /ace/config-vxworks5.x.h
parent3995d15c39c788a18b61027695fc8a80d6567b44 (diff)
downloadATCD-cf7d0e8777cf5474cbe1859bff004d5ef9de41b0.tar.gz
added ACE_HAS_PENTIUM with ghs
Diffstat (limited to 'ace/config-vxworks5.x.h')
-rw-r--r--ace/config-vxworks5.x.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/config-vxworks5.x.h b/ace/config-vxworks5.x.h
index ba5a3abf3fb..7660c76ec7f 100644
--- a/ace/config-vxworks5.x.h
+++ b/ace/config-vxworks5.x.h
@@ -45,6 +45,15 @@
# define ACE_HAS_POWERPC
# endif /* ppc */
+# if defined (i386) || 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 */
+
# define ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA
# define ACE_HAS_WCHAR_TYPEDEFS_CHAR
# define ACE_LACKS_LONGLONG_T