af1b41b6b8
compatible incremental compiler (i.e. runs IDL programs). IDL is a registered trademark of Research Systems Inc. (see: <http://www.rsinc.com/>) Remark: slave port for Python module intentionnally not yet committed. WWW: http://gnudatalanguage.sourceforge.net/
20 lines
428 B
C++
20 lines
428 B
C++
--- src/basic_fun.cpp.orig Mon Oct 17 10:22:04 2005
|
|
+++ src/basic_fun.cpp Mon Oct 24 21:08:57 2005
|
|
@@ -32,6 +32,9 @@
|
|
#else
|
|
#include <unistd.h>
|
|
#endif
|
|
+#if defined(__FreeBSD__)
|
|
+ extern "C" char **environ;
|
|
+#endif
|
|
|
|
#include "datatypes.hpp"
|
|
#include "envt.hpp"
|
|
@@ -2903,6 +2906,7 @@
|
|
|
|
BaseGDL* getenv_fun( EnvT* e)
|
|
{
|
|
+
|
|
SizeT nParam=e->NParam();
|
|
|
|
static int environmentIx = e->KeywordIx( "ENVIRONMENT" );
|