Matthias Brantner has proposed merging lp:~zorba-coders/zorba/fix-build-mac 
into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)
  Paul J. Lucas (paul-lucas)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637

fix for build on mac
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/context/dynamic_context.cpp'
--- src/context/dynamic_context.cpp	2012-04-18 11:34:17 +0000
+++ src/context/dynamic_context.cpp	2012-04-19 06:46:28 +0000
@@ -57,8 +57,11 @@
 using namespace std;
 
 #ifdef UNIX
-//external variables
 extern char **environ;
+#  ifdef APPLE
+#    include <crt_externs.h>
+#    define environ (*_NSGetEnviron())
+#  endif
 #endif
 
 namespace zorba

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to