diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-10-21 21:04:09 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-10-21 21:04:09 +0300 |
commit | df1a290040df77fba975567050c4304e70d00737 (patch) | |
tree | 1aa42bfc8d332afe5a02d6b6bfa30d8560c4a4ed /nonposix.h | |
parent | fcbfa70fc1b8d84f27ede1b95271fd489f02d27c (diff) | |
parent | 372e3bef424ad2cec3de5fbc4da30ddf88c9533e (diff) | |
download | egawk-df1a290040df77fba975567050c4304e70d00737.tar.gz egawk-df1a290040df77fba975567050c4304e70d00737.tar.bz2 egawk-df1a290040df77fba975567050c4304e70d00737.zip |
Merge branch 'master' into feature/dev-5.0
Diffstat (limited to 'nonposix.h')
-rw-r--r-- | nonposix.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -75,3 +75,19 @@ int getppid(void); wint_t btowc (int c); wint_t putwc (wchar_t wc, FILE *stream); #endif + +#ifdef __EMX__ + +char *os2_fixdllname(char *dst, const char *src, size_t n); + +#ifdef __KLIBC__ +#include <dlfcn.h> + +#define dlopen(f, m) os2_dlopen(f, m) +void *os2_dlopen(const char *file, int mode); + +#define dlsym(h, n) os2_dlsym(h, n) +void *os2_dlsym(void *handle, const char *name); +#endif /* __KLIBC__ */ + +#endif /* __EMX__ */ |