forked from OSchip/llvm-project
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:
parent
d23359c3e3
commit
03a2f10349
|
@ -124,7 +124,7 @@
|
|||
#define LLDB_OPT_SET_10 (1U << 9)
|
||||
#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
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue