mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
win32 fix
This commit is contained in:
parent
58c9203adc
commit
ce9ddfd186
1 changed files with 4 additions and 2 deletions
|
@ -120,10 +120,12 @@ static void *
|
||||||
pi_open_lib (const char *name, int global_syms)
|
pi_open_lib (const char *name, int global_syms)
|
||||||
{
|
{
|
||||||
void *dlhand;
|
void *dlhand;
|
||||||
#ifdef __OpenBSD__
|
#ifndef _WIN32
|
||||||
|
# ifdef __OpenBSD__
|
||||||
int flags = RTLD_LAZY;
|
int flags = RTLD_LAZY;
|
||||||
#else
|
# else
|
||||||
int flags = RTLD_NOW;
|
int flags = RTLD_NOW;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_DLOPEN)
|
#if defined(HAVE_DLOPEN)
|
||||||
|
|
Loading…
Reference in a new issue