changeset 5681:4524a1b19b67

[__GNUC__] (MKDIR_PROTOTYPE): Defined.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 Jan 1994 20:54:23 +0000
parents 4428fd0336f3
children 9204cb4fdad9
files src/s/sunos4-0.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sunos4-0.h	Wed Jan 26 20:14:27 1994 +0000
+++ b/src/s/sunos4-0.h	Wed Jan 26 20:54:23 1994 +0000
@@ -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__ */