aboutsummaryrefslogtreecommitdiff
path: root/jim-win32compat.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-04-04 14:28:42 +1000
committerSteve Bennett <steveb@workware.net.au>2011-06-09 11:45:57 +1000
commit980235d194353a1ee9109303f5a12bb42f68d6c3 (patch)
treeb139bff3d923c7288952078b0c915abfe776286c /jim-win32compat.h
parent64716bd6592527d31b6c5e79295d0218afc98682 (diff)
downloadjimtcl-980235d194353a1ee9109303f5a12bb42f68d6c3.zip
jimtcl-980235d194353a1ee9109303f5a12bb42f68d6c3.tar.gz
jimtcl-980235d194353a1ee9109303f5a12bb42f68d6c3.tar.bz2
Better handling of environ on Mac OS X
Shared libraries can't access environ directly, so use _NSGetEnviron() on Mac OS X Also, load modules with (RTLD_NOW | RTLD_LOCAL) instead of RTLD_LAZY Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-win32compat.h')
-rw-r--r--jim-win32compat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/jim-win32compat.h b/jim-win32compat.h
index dab0a01..4976579 100644
--- a/jim-win32compat.h
+++ b/jim-win32compat.h
@@ -15,7 +15,6 @@
#define JIM_ANSIC
#define MKDIR_ONE_ARG
-#define RTLD_LAZY 0
void *dlopen(const char *path, int mode);
int dlclose(void *handle);
void *dlsym(void *handle, const char *symbol);