More mingw fixes.
This commit is contained in:
@@ -24,12 +24,14 @@
|
|||||||
#ifndef HAVE_SSIZE_T
|
#ifndef HAVE_SSIZE_T
|
||||||
# define HAVE_SSIZE_T
|
# define HAVE_SSIZE_T
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32 // This is only for Windows. Supports only Win32.
|
||||||
#ifndef ssize_t
|
#ifndef _SSIZE_T_
|
||||||
typedef long ssize_t; // This is only for Windows. Supports only Win32.
|
typedef long ssize_t;
|
||||||
|
#define _SSIZE_T_
|
||||||
#endif
|
#endif
|
||||||
#ifndef pid_t
|
#ifndef _PID_T_
|
||||||
typedef unsigned pid_t;
|
typedef int pid_t;
|
||||||
|
#define _PID_T_
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user