summaryrefslogtreecommitdiff
path: root/tests/CE_fostream.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CE_fostream.h')
-rw-r--r--tests/CE_fostream.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/CE_fostream.h b/tests/CE_fostream.h
index b488aaba3b1..9d84d7fc2be 100644
--- a/tests/CE_fostream.h
+++ b/tests/CE_fostream.h
@@ -21,7 +21,7 @@
#include "ace/config-all.h"
-#ifdef ACE_HAS_WINCE
+#if defined (ACE_HAS_WINCE) && defined (ACE_LACKS_IOSTREAM_TOTALLY)
#include "ace/Null_Mutex.h"
#include "ace/Singleton.h"
@@ -101,5 +101,5 @@ private:
typedef ACE_Singleton<ACE_CE_fostream, ACE_Null_Mutex> ACE_CE_OSTREAM;
-#endif // ACE_HAS_WINCE
-#endif // ACE_CE_fostream_h
+#endif /* ACE_HAS_WINCE && ACE_LACKS_IOSTREAM_TOTALLY */
+#endif /* ACE_CE_fostream_h */