Avoid defining a macro twice
This commit is contained in:
parent
ba069ded40
commit
8db05b8c17
@ -193,6 +193,9 @@ typedef DWORD tls_type;
|
||||
#define tls_set(x, a) TlsSetValue((x), (a))
|
||||
|
||||
#define HAVE_DYNLOAD 1
|
||||
void *LoadLib(const char *name);
|
||||
void CloseLib(void *handle);
|
||||
void *GetSymbol(void *handle, const char *name);
|
||||
|
||||
#else
|
||||
|
||||
@ -269,6 +272,9 @@ static __inline void Sleep(ALuint t)
|
||||
|
||||
#if defined(HAVE_DLFCN_H)
|
||||
#define HAVE_DYNLOAD 1
|
||||
void *LoadLib(const char *name);
|
||||
void CloseLib(void *handle);
|
||||
void *GetSymbol(void *handle, const char *name);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@ -588,14 +594,6 @@ void al_print(const char *fname, unsigned int line, const char *fmt, ...)
|
||||
PRINTF_STYLE(3,4);
|
||||
#define AL_PRINT(...) al_print(__FILE__, __LINE__, __VA_ARGS__)
|
||||
|
||||
|
||||
#if defined(_WIN32) || defined(HAVE_DLFCN_H)
|
||||
#define HAVE_DYNLOAD 1
|
||||
void *LoadLib(const char *name);
|
||||
void CloseLib(void *handle);
|
||||
void *GetSymbol(void *handle, const char *name);
|
||||
#endif
|
||||
|
||||
extern ALdouble ConeScale;
|
||||
extern ALdouble ZScale;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user