Don't try to detect MSVC
parent
cbb1c82c1f
commit
6474527f0c
|
@ -17,11 +17,13 @@
|
|||
#include <glib.h>
|
||||
|
||||
/* MSVC */
|
||||
#if defined(MSVC) && !defined(__GNUC__)
|
||||
#include <syd/stat.h>
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
#include <sys/stat.h>
|
||||
#ifndef S_ISREG
|
||||
#define S_ISREG(m) (((m) & (_S_IFMT)) == (_S_IFREG))
|
||||
#define S_ISDIR(m) (((m) & (_S_IFMT)) == (_S_IFDIR))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
Loading…
Reference in New Issue