harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r688747 - /harmony/enhanced/drlvm/trunk/vm/port/src/crash_handler/linux/stack_dump_os.cpp
Date Mon, 25 Aug 2008 15:09:08 GMT
Author: hindessm
Date: Mon Aug 25 08:09:08 2008
New Revision: 688747

URL: http://svn.apache.org/viewvc?rev=688747&view=rev
Log:
Make sure environ is defined correctly.

Modified:
    harmony/enhanced/drlvm/trunk/vm/port/src/crash_handler/linux/stack_dump_os.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/port/src/crash_handler/linux/stack_dump_os.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/src/crash_handler/linux/stack_dump_os.cpp?rev=688747&r1=688746&r2=688747&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/port/src/crash_handler/linux/stack_dump_os.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/port/src/crash_handler/linux/stack_dump_os.cpp Mon Aug
25 08:09:08 2008
@@ -30,6 +30,12 @@
 #include "port_malloc.h"
 #include "stack_dump.h"
 
+#if defined(MACOSX)
+#include <crt_externs.h>
+#define environ (*_NSGetEnviron())
+#else
+extern char** environ;
+#endif
 
 static char* g_curdir = NULL;
 static char* g_cmdline = NULL;



Mime
View raw message