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:
@@ -31,7 +31,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#if defined(__IBMC__) || defined(__EMX__)
|
#if defined(__IBMC__) || defined(__EMX__) || defined(_MSC_VER)
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
# define PATH_MAX _MAX_PATH
|
# define PATH_MAX _MAX_PATH
|
||||||
#endif
|
#endif
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if defined(__IBMC__) || defined(__EMX__)
|
#if defined(__IBMC__) || defined(__EMX__) || defined(_MSC_VER)
|
||||||
# define PATH_MAX _MAX_PATH
|
# define PATH_MAX _MAX_PATH
|
||||||
#endif
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
Reference in New Issue
Block a user