summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-10-12 13:49:11 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-11-11 23:14:10 +0200
commit0a050fa206e5d899f553b6ac492d389cb39591a2 (patch)
treef34f09369aed47f02088b95458c45f24cefbfed0 /io.c
parentb4cf3cc470eb1200ec90fcc7ad5b2d069059cf7e (diff)
downloadgawk-0a050fa206e5d899f553b6ac492d389cb39591a2.tar.gz
OS/2 fixes.
Diffstat (limited to 'io.c')
-rw-r--r--io.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/io.c b/io.c
index 32caadfb..c584a0c2 100644
--- a/io.c
+++ b/io.c
@@ -110,6 +110,14 @@
#ifdef __EMX__
#include <process.h>
+
+#if !defined(_S_IFDIR) && defined(S_IFDIR)
+#define _S_IFDIR S_IFDIR
+#endif
+
+#if !defined(_S_IRWXU) && defined(S_IRWXU)
+#define _S_IRWXU S_IRWXU
+#endif
#endif
#ifndef ENFILE