boost-process
boost-process copied to clipboard
Solaris compilation
Hi,
To compile with Solaris, the following patch would be needed:
Index: boost/process/posix/initializers/inherit_env.hpp
===================================================================
--- boost/process/posix/initializers/inherit_env.hpp (revision 262831)
+++ boost/process/posix/initializers/inherit_env.hpp (working copy)
@@ -17,6 +17,10 @@
# define environ (*_NSGetEnviron())
#else
# include <unistd.h>
+extern "C"
+{
+ extern char **environ;
+}
#endif
namespace boost { namespace process { namespace posix { namespace initializers {
Regards, Daniel.