diff options
Diffstat (limited to 'libdvdread-embedded/msvc/include/dlfcn.h')
-rw-r--r-- | libdvdread-embedded/msvc/include/dlfcn.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libdvdread-embedded/msvc/include/dlfcn.h b/libdvdread-embedded/msvc/include/dlfcn.h new file mode 100644 index 0000000..edd03a6 --- /dev/null +++ b/libdvdread-embedded/msvc/include/dlfcn.h @@ -0,0 +1,18 @@ +#ifndef __DLFCN_H__ +# define __DLFCN_H__ + +extern void *dlopen (const char *file, int mode); +extern int dlclose (void *handle); +extern void *dlsym (void * handle, const char * name); +extern char *dlerror (void); + +/* These don't mean anything on windows */ +#define RTLD_NEXT ((void *) -1l) +#define RTLD_DEFAULT ((void *) 0) +#define RTLD_LAZY -1 +#define RTLD_NOW -1 +#define RTLD_BINDING_MASK -1 +#define RTLD_NOLOAD -1 +#define RTLD_GLOBAL -1 + +#endif /* __DLFCN_H__ */ |