[Lldb-commits] [lldb] r190065 - MinGW: avoid many warnings due to FAR/NEAR defines.

Virgile Bello virgile.bello at gmail.com
Thu Sep 5 09:51:18 PDT 2013


Author: xen2
Date: Thu Sep  5 11:51:17 2013
New Revision: 190065

URL: http://llvm.org/viewvc/llvm-project?rev=190065&view=rev
Log:
MinGW: avoid many warnings due to FAR/NEAR defines.

Modified:
    lldb/trunk/include/lldb/Host/windows/windows.h

Modified: lldb/trunk/include/lldb/Host/windows/windows.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/windows/windows.h?rev=190065&r1=190064&r2=190065&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/windows/windows.h (original)
+++ lldb/trunk/include/lldb/Host/windows/windows.h Thu Sep  5 11:51:17 2013
@@ -22,5 +22,10 @@
 #undef LoadImage
 #undef GetUserName
 #undef far
+#undef near
+#undef FAR
+#undef NEAR
+#define FAR
+#define NEAR
 
 #endif  // LLDB_lldb_windows_h_





More information about the lldb-commits mailing list