diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-27 14:57:17 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-27 14:57:17 +0000 |
commit | 7d42e64ce7fef2da8970d3c5c56341d66b54328d (patch) | |
tree | 70ecdc2917f271188c43f360180f4feed661d4b7 /tests | |
parent | 841c3eb70aaa19491bc875f6a1b9b7ffcb055fca (diff) | |
download | ATCD-7d42e64ce7fef2da8970d3c5c56341d66b54328d.tar.gz |
undef ACE_WIN32 to test ACE_U_LongLong on NT
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Time_Value_Test.cpp | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/tests/Time_Value_Test.cpp b/tests/Time_Value_Test.cpp index 6c4c0384b18..a96e24d97f9 100644 --- a/tests/Time_Value_Test.cpp +++ b/tests/Time_Value_Test.cpp @@ -21,13 +21,31 @@ #include "ace/config.h" -// Force test of ACE_U_LongLong class. -#undef ACE_HAS_HI_RES_TIMER -#undef ACE_HAS_LONGLONG_T +// Force test of ACE_U_LongLong class on all platforms. +#if defined (ACE_HAS_HI_RES_TIMER) || defined (ACE_HAS_LONGLONG_T) || defined (ACE_WIN32) + +# if defined (ACE_HAS_HI_RES_TIMER) +# undef ACE_HAS_HI_RES_TIMER +# endif /* ACE_HAS_HI_RES_TIMER */ + +# if defined (ACE_HAS_LONGLONG_T) +# undef ACE_HAS_LONGLONG_T +# endif /* ACE_HAS_LONGLONG_T */ + +# if defined (ACE_WIN32) +# undef ACE_WIN32 +# endif /* ACE_WIN32 */ + + // Force inlining, in case ACE_U_LongLong member function + // definitions are not in libACE. +# define __ACE_INLINE__ + +#endif /* ACE_HAS_HI_RES_TIMER || ACE_HAS_LONGLONG_T || ACE_WIN32 */ #include "ace/ACE.h" #include "test_config.h" + u_long test_ace_u_longlong () { |