[llvm] r350655 - Don't write #include "Windows/WindowsSupport.h" from the Windows dir.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 8 13:05:34 PST 2019


Author: zturner
Date: Tue Jan  8 13:05:34 2019
New Revision: 350655

URL: http://llvm.org/viewvc/llvm-project?rev=350655&view=rev
Log:
Don't write #include "Windows/WindowsSupport.h" from the Windows dir.

This generates -Wnonportable-include-dir warnings, and doesn't need
to be there.  It seems this was just checked in on accident.

Modified:
    llvm/trunk/lib/Support/Windows/Threading.inc

Modified: llvm/trunk/lib/Support/Windows/Threading.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Threading.inc?rev=350655&r1=350654&r2=350655&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Threading.inc (original)
+++ llvm/trunk/lib/Support/Windows/Threading.inc Tue Jan  8 13:05:34 2019
@@ -14,7 +14,7 @@
 #include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/Twine.h"
 
-#include "Windows/WindowsSupport.h"
+#include "WindowsSupport.h"
 #include <process.h>
 
 // Windows will at times define MemoryFence.




More information about the llvm-commits mailing list