diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-06-04 16:06:48 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-06-04 16:06:48 +0200 |
commit | d7744a6847b2b16d4c89fc66e2cedc02cae927f8 (patch) | |
tree | e76de8fa3a34c1e71718f2c3e470ec9111a4d30f /src | |
parent | 5f260de4d4d94d00c0261abc8442486b79fffa9d (diff) | |
download | wolfbones-d7744a6847b2b16d4c89fc66e2cedc02cae927f8.tar.gz wolfbones-d7744a6847b2b16d4c89fc66e2cedc02cae927f8.tar.bz2 |
compile dlerror on Windows
Diffstat (limited to 'src')
-rw-r--r-- | src/library/loader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/loader.c b/src/library/loader.c index ca11fe4..caddae2 100644 --- a/src/library/loader.c +++ b/src/library/loader.c @@ -135,7 +135,9 @@ char *wolf_library_error_msg( const wolf_library_p library, char *buf, size_t b WOLF_LIBRARY_FUNCPTR wolf_library_get_func( const wolf_library_p l, const char *name, wolf_error_t *error ) { WOLF_LIBRARY_FUNCPTR ret; +#if !defined _WIN32 WOLF_LIBRARY_DLERROR_CONST char *err = NULL; +#endif /* !defined _WIN32 */ #if defined HAVE_DLFCN /* clear error state before calling dlsym, so that calling dlsym |