Avoid redeclaration for mingw compiler

This commit is contained in:
deve 2014-09-23 08:38:30 +02:00
parent d007703d6b
commit 667245f5aa

View File

@ -48,7 +48,7 @@
# include <direct.h>
# include <Windows.h>
# include <stdio.h>
# ifndef __CYGWIN__
# if !defined(__CYGWIN__ ) && !defined(__MINGW32__)
/*Needed by the remove directory function */
# define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
# define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)