Only define MAX_PATH if it is not defined already.

This gets rid of a lot warnings when compiling with mingw.

llvm-svn: 204343
This commit is contained in:
Hafiz Abid Qadeer 2014-03-20 13:52:26 +00:00
parent d23359c3e3
commit 03a2f10349
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@
#define LLDB_OPT_SET_10 (1U << 9) #define LLDB_OPT_SET_10 (1U << 9)
#define LLDB_OPT_SET_FROM_TO(A, B) (((1U << (B)) - 1) ^ (((1U << (A))-1) >> 1)) #define LLDB_OPT_SET_FROM_TO(A, B) (((1U << (B)) - 1) ^ (((1U << (A))-1) >> 1))
#ifdef _WIN32 #if defined (_WIN32) && !defined (MAX_PATH)
#define MAX_PATH 260 #define MAX_PATH 260
#endif #endif