Skip to content

Commit

Permalink
fix for compiling on Apple iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
patmarion committed Jun 27, 2012
1 parent 4df19bc commit 0fc3888
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions boost_1_45_0/libs/program_options/src/parsers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@
// See: http://article.gmane.org/gmane.comp.lib.boost.devel/103843
// See: http://lists.gnu.org/archive/html/bug-guile/2004-01/msg00013.html
#if defined(__APPLE__) && defined(__DYNAMIC__)
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
//#include <crt_externs.h>
//#define environ (*_NSGetEnviron())
extern char** environ;
#else
#if defined(__MWERKS__)
#include <crtl.h>
Expand Down

0 comments on commit 0fc3888

Please sign in to comment.