aboutsummaryrefslogtreecommitdiff
path: root/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn.h')
-rw-r--r--dlfcn.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/dlfcn.h b/dlfcn.h
index dfc2551..deda9a8 100644
--- a/dlfcn.h
+++ b/dlfcn.h
@@ -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
24extern "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 );
42void *dlsym ( void *handle, const char *name ); 46void *dlsym ( void *handle, const char *name );
43char *dlerror( void ); 47char *dlerror( void );
44 48
49#ifdef __cplusplus
50}
51#endif
52
45#endif /* DLFCN_H */ 53#endif /* DLFCN_H */