ivars.c, enable getting the dll address for CYGWIN CYGWIN does not vae dladdr(), but may use Winapi functions
This commit is contained in:
parent
db8d24da36
commit
9b482cda1e
|
|
@ -2,7 +2,7 @@
|
||||||
Copyright 1991 Regents of the University of California. All rights reserved.
|
Copyright 1991 Regents of the University of California. All rights reserved.
|
||||||
**********/
|
**********/
|
||||||
|
|
||||||
#if defined(__MINGW32__) || defined(_MSC_VER)
|
#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__CYGWIN__)
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -18,7 +18,9 @@ char *Inp_Path;
|
||||||
char *Outp_Path;
|
char *Outp_Path;
|
||||||
|
|
||||||
#if defined (SHARED_MODULE) && defined (HAS_RELPATH)
|
#if defined (SHARED_MODULE) && defined (HAS_RELPATH)
|
||||||
#if defined(__MINGW32__) || defined(_MSC_VER)
|
#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__CYGWIN__)
|
||||||
|
|
||||||
|
/* CYGWIN here, because it does not have dladdr() */
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
get_abs_path(void)
|
get_abs_path(void)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue