summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-15 02:53:09 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-15 02:53:09 +0000
commitd4fb59f4038cd1b9ab2a78a617a62766ec5389fc (patch)
tree2d538d14e92a7619508dd7578ce2a4c809bc2574 /TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h
parentba5ea13061766b010ebbe7a1e92c00c3ebf1fcb9 (diff)
downloadATCD-d4fb59f4038cd1b9ab2a78a617a62766ec5389fc.tar.gz
ChangeLogTag: Wed Jul 14 21:49:52 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h')
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h
index bc41d77eb50..d5e63b7e9bd 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h
@@ -10,7 +10,8 @@
// Task_Client.h
//
// = AUTHOR
-// Andy Gokhale, Sumedh Mungee ,Sergio Flores-Gaitan and Nagarajan Surendran.
+// Andy Gokhale, Sumedh Mungee, Sergio Flores-Gaitan, and
+// Nagarajan Surendran.
//
// ============================================================================
@@ -38,21 +39,23 @@
#include "Timer.h"
#if defined (CHORUS)
-#include "pccTimer.h"
+# include "pccTimer.h"
#endif /* CHORUS */
#if defined(ACE_HAS_EXCEPTIONS)
-// Some plaforms define an exception structure in math.h...
-#define exception _math_exception
-#include /**/ <math.h>
-#undef exception
+ // Some plaforms define an exception structure in math.h...
+# if defined (__GNUG__)
+ // And some compilers have this workaround. Disable it with this
+ // #define, to avoid warning about multiple #defines of exception.
+# define _MATH_H_WRAPPER
+# endif /* __GNUG__ */
+# define exception _math_exception
+# include /**/ <math.h>
+# undef exception
#else
-#include /**/ <math.h>
+# include /**/ <math.h>
#endif /* ACE_HAS_EXCEPTIONS */
-// I will integrate this, together with the sqrt() function when
-// the implementation is complete. --Sergio.
-// levine 1 nov 98 % Note: I removed fabs () because we no longer use it.
#if defined (ACE_LACKS_FLOATING_POINT)
// The following is just temporary, until we finish the sqrt()
// implementation.