Issue #6347: Add inttypes.h to the pyport.h #includes; fixes a build
[python.git] / Modules / _ctypes / ctypes_dlfcn.h
blobd8bf904be20419f1d20def6986f82ce555276855
1 /*****************************************************************
2 This file should be kept compatible with Python 2.3, see PEP 291.
3 *****************************************************************/
5 #ifndef _CTYPES_DLFCN_H_
6 #define _CTYPES_DLFCN_H_
8 #ifdef __cplusplus
9 extern "C" {
10 #endif /* __cplusplus */
12 #ifndef MS_WIN32
14 #include <dlfcn.h>
16 #ifndef CTYPES_DARWIN_DLFCN
18 #define ctypes_dlsym dlsym
19 #define ctypes_dlerror dlerror
20 #define ctypes_dlopen dlopen
21 #define ctypes_dlclose dlclose
22 #define ctypes_dladdr dladdr
24 #endif /* !CTYPES_DARWIN_DLFCN */
26 #endif /* !MS_WIN32 */
28 #ifdef __cplusplus
30 #endif /* __cplusplus */
31 #endif /* _CTYPES_DLFCN_H_ */