mirror of https://github.com/BOINC/boinc.git
Fixes for MINGW/DevC++ builds
This commit is contained in:
parent
8c49d7cd88
commit
e3022d83f7
|
@ -26,7 +26,7 @@
|
|||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#define getcwd _getcwd
|
||||
#endif
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if !defined(HAVE_STRDUP) && defined(HAVE__STRDUP)
|
||||
#define strdup _strdup
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue