diff options
Diffstat (limited to 'dlfcn.h')
-rw-r--r-- | dlfcn.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -20,6 +20,10 @@ | |||
20 | #ifndef DLFCN_H | 20 | #ifndef DLFCN_H |
21 | #define DLFCN_H | 21 | #define DLFCN_H |
22 | 22 | ||
23 | #ifdef __cplusplus | ||
24 | extern "C" { | ||
25 | #endif | ||
26 | |||
23 | /* POSIX says these are implementation-defined. | 27 | /* POSIX says these are implementation-defined. |
24 | * To simplify use with Windows API, we treat them the same way. | 28 | * To simplify use with Windows API, we treat them the same way. |
25 | */ | 29 | */ |
@@ -42,4 +46,8 @@ int dlclose( void *handle ); | |||
42 | void *dlsym ( void *handle, const char *name ); | 46 | void *dlsym ( void *handle, const char *name ); |
43 | char *dlerror( void ); | 47 | char *dlerror( void ); |
44 | 48 | ||
49 | #ifdef __cplusplus | ||
50 | } | ||
51 | #endif | ||
52 | |||
45 | #endif /* DLFCN_H */ | 53 | #endif /* DLFCN_H */ |