Update of /cvsroot/boost/boost/libs/program_options/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1388
Modified Files:
parsers_test.cpp
Log Message:
Compilation fix for sun. Fixes #739.
Index: parsers_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/program_options/test/parsers_test.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- parsers_test.cpp 24 Apr 2006 08:25:12 -0000 1.15
+++ parsers_test.cpp 28 Jun 2007 07:09:38 -0000 1.16
@@ -20,7 +20,11 @@
#include <sstream>
using namespace std;
+#if defined(__sun)
+#include <stdlib.h> // for putenv on solaris
+#else
#include <cstdlib> // for putenv
+#endif
#define TEST_CHECK_THROW(expression, exception, description) \
try \
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs