Fix for VS 2013 compilation

I don´t know why it doesn´t work anymore, but the fix is trivial
may be related of using the Windows 8.0 SDK.

Change-Id: Ia09109b53d4f022a732ea781c98ddd4eb0c721d9
This commit is contained in:
Jesús Corrius
2013-11-16 14:53:12 +01:00
parent 49ca17de76
commit d83e581fb5
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@
#include <string.h>
#include <fcntl.h>
#if defined(__IBMC__) || defined(__EMX__)
#if defined(__IBMC__) || defined(__EMX__) || defined(_MSC_VER)
# include <fcntl.h>
# define PATH_MAX _MAX_PATH
#endif

View File

@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if defined(__IBMC__) || defined(__EMX__)
#if defined(__IBMC__) || defined(__EMX__) || defined(_MSC_VER)
# define PATH_MAX _MAX_PATH
#endif
#include <limits.h>