Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78540 - trunk/boost/test/utils/runtime
From: steven_at_[hidden]
Date: 2012-05-22 12:14:07


Author: steven_watanabe
Date: 2012-05-22 12:14:07 EDT (Tue, 22 May 2012)
New Revision: 78540
URL: http://svn.boost.org/trac/boost/changeset/78540

Log:
Fix Boost.Test on MinGW/__STRICT_ANSI__
Text files modified:
   trunk/boost/test/utils/runtime/config.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/test/utils/runtime/config.hpp
==============================================================================
--- trunk/boost/test/utils/runtime/config.hpp (original)
+++ trunk/boost/test/utils/runtime/config.hpp 2012-05-22 12:14:07 EDT (Tue, 22 May 2012)
@@ -72,6 +72,10 @@
 #pragma warning(disable:4996) // putenv
 #endif
 
+#if defined(__MINGW32__)
+extern "C" int putenv( const char * );
+#endif
+
 #ifndef UNDER_CE
 #if defined(__COMO__) && 0
 inline void


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