summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2002-03-12 00:29:28 +0000
committerSteve Huston <shuston@riverace.com>2002-03-12 00:29:28 +0000
commit52dab011e54c85566a142e59a54c81fbf6dff8cd (patch)
tree7a46499409be0410185b857749f72f57d2a7179f /examples
parentfc2853c63212bc435bd0bd27cfd4f62fd43058c3 (diff)
downloadATCD-52dab011e54c85566a142e59a54c81fbf6dff8cd.tar.gz
ChangeLogTag:Mon Mar 11 18:48:41 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/C++NPv1/Logging_Client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/C++NPv1/Logging_Client.cpp b/examples/C++NPv1/Logging_Client.cpp
index fc14388e0e6..fec006d72e1 100644
--- a/examples/C++NPv1/Logging_Client.cpp
+++ b/examples/C++NPv1/Logging_Client.cpp
@@ -14,6 +14,11 @@
#include <string>
+#if defined (ACE_WIN32) && (!defined (ACE_HAS_STANDARD_CPP_LIBRARY) || \
+ (ACE_HAS_STANDARD_CPP_LIBRARY == 0))
+# error "Must add to config.h: #define ACE_HAS_STANDARD_CPP_LIBRARY 1"
+#endif
+
int operator<< (ACE_OutputCDR &cdr, const ACE_Log_Record &log_record)
{
size_t msglen = log_record.msg_data_len ();