summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-11 19:30:42 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-11 19:30:42 +0000
commit2320acf65d01fc390d8c1cf895e6d595166ad348 (patch)
tree673e894d4b9d1cd1ecf4dd93b66173cfbb206bb9 /tests
parent5fab3a3fc728b2fae3d2f20e561ff148582ca618 (diff)
downloadATCD-2320acf65d01fc390d8c1cf895e6d595166ad348.tar.gz
protected definition of __ACE_INLINE__
Diffstat (limited to 'tests')
-rw-r--r--tests/Time_Value_Test.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/Time_Value_Test.cpp b/tests/Time_Value_Test.cpp
index 923c4acae4e..f7067be7c30 100644
--- a/tests/Time_Value_Test.cpp
+++ b/tests/Time_Value_Test.cpp
@@ -25,7 +25,7 @@
ACE_RCSID(tests, Time_Value_Test, "$Id$")
// Force test of ACE_U_LongLong class on Solaris, et al.
-#if defined (ACE_HAS_STHREADS)
+#if defined (sun)
# include <limits.h>
# undef ULLONG_MAX
@@ -39,11 +39,13 @@ ACE_RCSID(tests, Time_Value_Test, "$Id$")
// Force inlining, in case ACE_U_LongLong member function
// definitions are not in libACE.
-# define __ACE_INLINE__
+# if !defined (__ACE_INLINE__)
+# define __ACE_INLINE__
+# endif /* ! __ACE_INLINE__ */
# if defined (ACE_NO_INLINE)
# undef ACE_NO_INLINE
# endif /* ACE_NO_INLINE */
-#endif /* ACE_HAS_STHREADS */
+#endif /* sun */
#include "test_config.h"
#include "ace/ACE.h"