From 69b728249637148b64f39c6f913b1c5a68475fc7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 26 Jan 1994 20:54:23 +0000 Subject: [PATCH] [__GNUC__] (MKDIR_PROTOTYPE): Defined. --- src/s/sunos4-0.h | 7 +++++++ 1 file changed, 7 insertions(+) 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__ */ -- 2.39.5