Add MSVC 2010 project file and a make the project compile

This commit is contained in:
Thomas Bernard
2018-02-06 18:18:16 +01:00
parent ee1ec1a1b0
commit 6f48d7fefe
27 changed files with 678 additions and 19 deletions

View File

@@ -8,7 +8,9 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif
#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__)|| defined(__MINT__) || defined(__FreeBSD__)
#include <limits.h>
#endif
@@ -114,7 +116,7 @@
return resolved_path;
}
#elif defined (__WIN32__)
#elif defined(__WIN32__) || defined(WIN32)
// Mingw has a working equivalent. It only has reversed arguments.
char *Realpath(const char *_path, char *resolved_path)
{