diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-12-15 14:26:10 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-12-15 14:26:10 +0000 |
commit | 00d39acaf014a6aa3f6e27614bd1b107c36de565 (patch) | |
tree | 7b6ae0c26232e1050e312131417c8907e2e9e5fb /ACE | |
parent | 4454e02174f0e57a139c4e42406abfc337748e8c (diff) | |
download | ATCD-00d39acaf014a6aa3f6e27614bd1b107c36de565.tar.gz |
Diffstat (limited to 'ACE')
-rw-r--r-- | ACE/ace/config-vxworks6.4.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ACE/ace/config-vxworks6.4.h b/ACE/ace/config-vxworks6.4.h index c0013fac267..8a36752af56 100644 --- a/ACE/ace/config-vxworks6.4.h +++ b/ACE/ace/config-vxworks6.4.h @@ -9,4 +9,13 @@ # include "ace/config-vxworks6.3.h" +// Needed include to get all VxWorks CPU types +#include "types/vxCpu.h" +#if defined (_VX_CPU) && (_VX_CPU == _VX_PENTIUM || _VX_CPU == _VX_PENTIUM2 || _VX_CPU == _VX_PENTIUM3 || _VX_CPU == _VX_PENTIUM4) + // If running an Intel Pentium the + // ACE_OS::gethrtime () can use the RDTSC instruction. + # define ACE_HAS_PENTIUM +#endif + + #endif /* ACE_CONFIG_H */ |