From: Richard M. Stallman Date: Wed, 26 Jan 1994 20:54:23 +0000 (+0000) Subject: [__GNUC__] (MKDIR_PROTOTYPE): Defined. X-Git-Tag: emacs-19.34~10170 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69b728249637148b64f39c6f913b1c5a68475fc7;p=emacs.git [__GNUC__] (MKDIR_PROTOTYPE): Defined. --- 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__ */