Commits (2)
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
#ifndef DISABLE_MKSTEMP_DEFINE #ifndef DISABLE_MKSTEMP_DEFINE
#define mkstemp(t) _open(_mktemp(t), O_RDWR | O_CREAT | O_EXCL) #define mkstemp(t) _open(_mktemp(t), O_RDWR | O_CREAT | O_EXCL)
#endif #endif
typedef short unsigned int mode_t;
#elif defined(__unix__) #elif defined(__unix__)
......
...@@ -268,6 +268,10 @@ typedef intmax_t intptr_t; ...@@ -268,6 +268,10 @@ typedef intmax_t intptr_t;
#define SCNXMAX PRIX64 #define SCNXMAX PRIX64
#define SCNoMAX PRIo64 #define SCNoMAX PRIo64
#else
#if (!defined(_MSDOS)) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__))
typedef SSIZE_T ssize_t;
#endif
#endif #endif
/* Legacy 32-bit time_t */ /* Legacy 32-bit time_t */
......