diff src/s/sunos4-0.h @ 5681:4524a1b19b67

[__GNUC__] (MKDIR_PROTOTYPE): Defined.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 Jan 1994 20:54:23 +0000
parents e442bb589751
children 584da439d8b1
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__ */