Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57396 - trunk/libs/wave/test/testwave
From: hartmut.kaiser_at_[hidden]
Date: 2009-11-04 20:36:11


Author: hkaiser
Date: 2009-11-04 20:36:10 EST (Wed, 04 Nov 2009)
New Revision: 57396
URL: http://svn.boost.org/trac/boost/changeset/57396

Log:
Wave: added missing header file and special handling for stlport
Text files modified:
   trunk/libs/wave/test/testwave/testwave_app.cpp | 9 +++++++++
   1 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/libs/wave/test/testwave/testwave_app.cpp
==============================================================================
--- trunk/libs/wave/test/testwave/testwave_app.cpp (original)
+++ trunk/libs/wave/test/testwave/testwave_app.cpp 2009-11-04 20:36:10 EST (Wed, 04 Nov 2009)
@@ -14,6 +14,7 @@
 #include <string>
 #include <iostream>
 #include <vector>
+#include <ctime>
 
 // include boost
 #include <boost/config.hpp>
@@ -38,6 +39,14 @@
 #include "testwave_app.hpp"
 #include "collect_hooks_information.hpp"
 
+# ifdef BOOST_NO_STDC_NAMESPACE
+namespace std
+{
+ using ::asctime; using ::gmtime; using ::localtime;
+ using ::difftime; using ::time; using ::tm; using ::mktime; using ::system;
+}
+# endif
+
 namespace po = boost::program_options;
 namespace fs = boost::filesystem;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk