Don't try to detect MSVC

master
Yevgen Muntyan 2006-06-13 03:01:35 -05:00
parent cbb1c82c1f
commit 6474527f0c
1 changed files with 4 additions and 2 deletions

View File

@ -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