Fix build on Windows some more
This commit is contained in:
parent
a98b620683
commit
93e65a8541
|
@ -33,6 +33,8 @@
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#else
|
||||||
|
#include <winsock2.h> /* for struct timeval */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -32,6 +32,10 @@
|
||||||
#define R_OK 4
|
#define R_OK 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_WIN32) && !defined(S_ISFIFO)
|
||||||
|
#define S_ISFIFO(m) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
static FcConfig *_fcConfig; /* MT-safe */
|
static FcConfig *_fcConfig; /* MT-safe */
|
||||||
static FcMutex *_lock;
|
static FcMutex *_lock;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue