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