fix mingw build

This commit is contained in:
Simon Morlat 2015-03-02 00:13:48 +01:00
parent 1435afd94a
commit 9aa90496a0

View file

@ -37,8 +37,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef WIN32
#define chdir _chdir
#define F_OK 00
#include "direct.h"
#ifndef F_OK
#define F_OK 00 /*visual studio does not define F_OK*/
#endif
#endif
#if defined(HAVE_NOTIFY1) || defined(HAVE_NOTIFY4)