Commit 1e8110e7 authored by Christoph Scholtes's avatar Christoph Scholtes
Browse files

Fix definition of `mode_t'.

parent 3ad924ba
......@@ -345,11 +345,9 @@ along with GNU Emacs. If not, see <>. */
# define restrict
/* Define to `int' if <sys/types.h> does not define. */
#ifdef __GNUC__
/* No action required for gcc */
#else /* MSVC */
#define mode_t int
/* `mode_t' is not defined for MSVC. Define. */
#ifdef _MSC_VER
typedef unsigned short mode_t;
/* A va_copy replacement for MSVC. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment