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

Fix definition of `mode_t'.

parent 3ad924ba
...@@ -345,11 +345,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -345,11 +345,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
# define restrict # define restrict
#endif #endif
/* Define to `int' if <sys/types.h> does not define. */ /* `mode_t' is not defined for MSVC. Define. */
#ifdef __GNUC__ #ifdef _MSC_VER
/* No action required for gcc */ typedef unsigned short mode_t;
#else /* MSVC */
#define mode_t int
#endif #endif
/* A va_copy replacement for MSVC. */ /* 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