summaryrefslogtreecommitdiff
path: root/mysys/my_getwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_getwd.c')
-rw-r--r--mysys/my_getwd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysys/my_getwd.c b/mysys/my_getwd.c
index 3d674276731..b49737b2a61 100644
--- a/mysys/my_getwd.c
+++ b/mysys/my_getwd.c
@@ -29,6 +29,10 @@
#include <direct.h>
#endif
+#ifdef __EMX__
+// chdir2 support also drive change
+#define chdir _chdir2
+#endif
/* Gets current working directory in buff. Directory is allways ended
with FN_LIBCHAR */