activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r582343 - /activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/System.cpp
Date Fri, 05 Oct 2007 16:49:37 GMT
Author: nmittler
Date: Fri Oct  5 09:49:36 2007
New Revision: 582343

URL: http://svn.apache.org/viewvc?rev=582343&view=rev
Log:
[AMQCPP-144] - fix build of System.cpp on OS X

Modified:
    activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/System.cpp

Modified: activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/System.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/System.cpp?rev=582343&r1=582342&r2=582343&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/System.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/lang/System.cpp Fri Oct  5 09:49:36
2007
@@ -39,6 +39,10 @@
 using namespace decaf::internal;
 using namespace decaf::lang::exceptions;
 
+#if !defined(_WIN32)
+    extern char** environ;
+#endif 
+
 ////////////////////////////////////////////////////////////////////////////////
 AprPool System::aprPool;
 
@@ -216,9 +220,6 @@
 
 #else
 
-////////////////////////////////////////////////////////////////////////////////
-// Defined here for OSX
-extern char** environ;
 
 ////////////////////////////////////////////////////////////////////////////////
 char** System::getEnvArray() {



Mime
View raw message