summaryrefslogtreecommitdiff
path: root/tests/Time_Value_Test.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-29 22:26:40 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-29 22:26:40 +0000
commit9e20f36053f9d7151739599f1595679643dc1e29 (patch)
tree55b216488e35155f5139d6e0a5c4604471885d91 /tests/Time_Value_Test.cpp
parent741ee42f1fec2daa54d327f4143f94b0e9c514a4 (diff)
downloadATCD-9e20f36053f9d7151739599f1595679643dc1e29.tar.gz
don't test ACE_U_LongLong if the platform defines
ACE_LACKS_LONGLONG_T, e.g., GreenHills, because it makes a big mess.
Diffstat (limited to 'tests/Time_Value_Test.cpp')
-rw-r--r--tests/Time_Value_Test.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/Time_Value_Test.cpp b/tests/Time_Value_Test.cpp
index f7067be7c30..2e79405db7b 100644
--- a/tests/Time_Value_Test.cpp
+++ b/tests/Time_Value_Test.cpp
@@ -24,8 +24,8 @@
ACE_RCSID(tests, Time_Value_Test, "$Id$")
-// Force test of ACE_U_LongLong class on Solaris, et al.
-#if defined (sun)
+// Force test of ACE_U_LongLong class on Solaris.
+#if defined (sun) && !defined (ACE_LACKS_LONGLONG_T)
# include <limits.h>
# undef ULLONG_MAX
@@ -33,9 +33,7 @@ ACE_RCSID(tests, Time_Value_Test, "$Id$")
# undef ACE_HAS_HI_RES_TIMER
# endif /* ACE_HAS_HI_RES_TIMER */
-# if !defined (ACE_LACKS_LONGLONG_T)
-# define ACE_LACKS_LONGLONG_T
-# endif /* ! ACE_LACKS_LONGLONG_T */
+# define ACE_LACKS_LONGLONG_T
// Force inlining, in case ACE_U_LongLong member function
// definitions are not in libACE.
@@ -45,7 +43,7 @@ ACE_RCSID(tests, Time_Value_Test, "$Id$")
# if defined (ACE_NO_INLINE)
# undef ACE_NO_INLINE
# endif /* ACE_NO_INLINE */
-#endif /* sun */
+#endif /* sun && ! ACE_LACKS_LONGLONG_T */
#include "test_config.h"
#include "ace/ACE.h"