summaryrefslogtreecommitdiff
path: root/ace/Trace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Trace.cpp')
-rw-r--r--ace/Trace.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ace/Trace.cpp b/ace/Trace.cpp
index 9b7c6345dd3..8740dbd7c63 100644
--- a/ace/Trace.cpp
+++ b/ace/Trace.cpp
@@ -13,6 +13,16 @@ ACE_RCSID(ace, Trace, "$Id$")
#endif /* ACE_NTRACE */
#define ACE_NTRACE 1
+// This must come first to avoid "order of include" problems...
+
+#if !defined (ACE_HAS_INLINED_OSCALLS) && !defined(ACE_HAS_ONE_DEFINITION_RULE)
+#define ACE_HAS_INLINED_OSCALLS
+#include "ace/ACE.h"
+#undef ACE_HAS_INLINED_OSCALLS
+#else
+#include "ace/ACE.h"
+#endif /* !ACE_HAS_INLINED_OSCALLS */
+
#include "ace/Log_Msg.h"
#include "ace/Trace.h"