aboutsummaryrefslogtreecommitdiffstats
path: root/nonposix.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-10-21 21:06:03 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-10-21 21:06:03 +0300
commitd0f55780cc2e6078c2c28db5f1b5731a4cb580bc (patch)
tree42ea4d91cb97a3ce88722f21d2c3ace4890bc73a /nonposix.h
parent1af6b1b8112f7a67c8a5080d610eee19d14fed7d (diff)
parent372e3bef424ad2cec3de5fbc4da30ddf88c9533e (diff)
downloadegawk-d0f55780cc2e6078c2c28db5f1b5731a4cb580bc.tar.gz
egawk-d0f55780cc2e6078c2c28db5f1b5731a4cb580bc.tar.bz2
egawk-d0f55780cc2e6078c2c28db5f1b5731a4cb580bc.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'nonposix.h')
-rw-r--r--nonposix.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/nonposix.h b/nonposix.h
index b4f52246..19336ee7 100644
--- a/nonposix.h
+++ b/nonposix.h
@@ -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__ */