summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-26 20:54:23 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-26 20:54:23 +0000
commit69b728249637148b64f39c6f913b1c5a68475fc7 (patch)
tree6a65fee7c54d66f1e0c995f56e1b0a3004aa491f /src
parent224d56a3c5f7ee9be66bb8f41841b33d54ab992e (diff)
downloademacs-69b728249637148b64f39c6f913b1c5a68475fc7.tar.gz
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Diffstat (limited to 'src')
-rw-r--r--src/s/sunos4-0.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h
index 5c949bba673..a0cba915cc9 100644
--- a/src/s/sunos4-0.h
+++ b/src/s/sunos4-0.h
@@ -12,3 +12,10 @@
GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
#define SYSTEM_MALLOC
+
+#ifdef __GNUC__
+/* We must define mkdir with this arg prototype
+ to match GCC's fixed stat.h. */
+#define MKDIR_PROTOTYPE \
+ int mkdir (const char *dpath, unsigned short dmode)
+#endif /* __GNUC__ */