Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71198 - trunk/libs/filesystem/v3/test
From: bdawes_at_[hidden]
Date: 2011-04-12 06:45:26


Author: bemandawes
Date: 2011-04-12 06:45:24 EDT (Tue, 12 Apr 2011)
New Revision: 71198
URL: http://svn.boost.org/trac/boost/changeset/71198

Log:
Attempt fix for SunOS compile failure
Text files modified:
   trunk/libs/filesystem/v3/test/operations_test.cpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/libs/filesystem/v3/test/operations_test.cpp
==============================================================================
--- trunk/libs/filesystem/v3/test/operations_test.cpp (original)
+++ trunk/libs/filesystem/v3/test/operations_test.cpp 2011-04-12 06:45:24 EDT (Tue, 12 Apr 2011)
@@ -74,6 +74,10 @@
   return SetEnvironmentVariableW(convert(name).c_str(), 0);
 }
 
+#else
+
+#include <stdlib.h> // allow unqualifed calls to env funcs on SunOS
+
 #endif
 
 // on Windows, except for standard libaries known to have wchar_t overloads for


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