Fixes for MINGW/DevC++ builds

This commit is contained in:
Eric J Korpela 2015-12-09 11:22:28 -08:00
parent 8c49d7cd88
commit e3022d83f7
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
#include <fcntl.h>
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(__MINGW32__)
#define getcwd _getcwd
#endif

View File

@ -39,7 +39,7 @@
#endif
#endif
#ifdef _MSC_VER
#if !defined(HAVE_STRDUP) && defined(HAVE__STRDUP)
#define strdup _strdup
#endif