1 #ifndef _CTYPES_DLFCN_H_ 2 #define _CTYPES_DLFCN_H_ 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif /* __cplusplus */ 7 8 #ifndef MS_WIN32 9 10 #include <dlfcn.h> 11 12 #ifndef CTYPES_DARWIN_DLFCN 13 14 #define ctypes_dlsym dlsym 15 #define ctypes_dlerror dlerror 16 #define ctypes_dlopen dlopen 17 #define ctypes_dlclose dlclose 18 #define ctypes_dladdr dladdr 19 20 #endif /* !CTYPES_DARWIN_DLFCN */ 21 22 #endif /* !MS_WIN32 */ 23 24 #ifdef __cplusplus 25 } 26 #endif /* __cplusplus */ 27 #endif /* _CTYPES_DLFCN_H_ */ 28