forked from 0ad/0ad
janwas
0bb0df5b2c
- remove headers always included from PCH - nommgr.h is only included ifdef REDEFINED_NEW (allows leaving out the mmgr stuff) - in lib/*.cpp, moved the corresponding include file to right behind the PCH (catches headers that aren't compilable by themselves) - byte_order no longer depends on SDL - add debug_level (another means of filtering debug output; needed for thesis) - split posix stuff up into subdirs (lib/posix and sysdep/win/wposix). makes including only some of the modules (e.g. sockets, time) much easier. This was SVN commit r4728.
21 lines
572 B
C
21 lines
572 B
C
#ifndef INCLUDED_WDLFCN
|
|
#define INCLUDED_WDLFCN
|
|
|
|
//
|
|
// <dlfcn.h>
|
|
//
|
|
|
|
// these have no meaning for the Windows GetProcAddress implementation,
|
|
// so they are ignored but provided for completeness.
|
|
#define RTLD_LAZY 0x01
|
|
#define RTLD_NOW 0x02
|
|
#define RTLD_GLOBAL 0x04 // semantics are unsupported, so complain if set.
|
|
#define RTLD_LOCAL 0x08
|
|
|
|
extern int dlclose(void* handle);
|
|
extern char* dlerror(void);
|
|
extern void* dlopen(const char* so_name, int flags);
|
|
extern void* dlsym(void* handle, const char* sym_name);
|
|
|
|
#endif // #ifndef INCLUDED_WDLFCN
|