stdinc.h: fix build with mingw #122
|
@ -33,11 +33,19 @@
|
|||
# include <malloc.h>
|
||||
# define PATH_DEV_NULL "nul"
|
||||
# ifndef ssize_t
|
||||
# ifndef __MINGW32__
|
||||
# include <BaseTsd.h>
|
||||
# else
|
||||
# include <basetsd.h>
|
||||
# endif
|
||||
# define ssize_t SSIZE_T
|
||||
# endif
|
||||
# ifndef __MINGW32__
|
||||
# include "win-dirent.h"
|
||||
# else
|
||||
# include <dirent.h>
|
||||
# endif
|
||||
#else
|
||||
# define PATH_DEV_NULL "/dev/null"
|
||||
# include <dirent.h>
|
||||
# include <unistd.h>
|
||||
|
|
Loading…
Reference in New Issue