[llvm-commits] [llvm] r169165 - /llvm/trunk/lib/Support/Windows/Memory.inc

Michael J. Spencer bigcheesegs at gmail.com
Mon Dec 3 14:07:00 PST 2012


Author: mspencer
Date: Mon Dec  3 16:07:00 2012
New Revision: 169165

URL: http://llvm.org/viewvc/llvm-project?rev=169165&view=rev
Log:
Revert the header sort on this file.

"Windows.h" includes <Windows.h> which defines a bunch of stuff it shouldn't
(even with all the restriction macros). We have no control over this file, so
make it's scope as small as possible.

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

Modified: llvm/trunk/lib/Support/Windows/Memory.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Memory.inc?rev=169165&r1=169164&r2=169165&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Memory.inc (original)
+++ llvm/trunk/lib/Support/Windows/Memory.inc Mon Dec  3 16:07:00 2012
@@ -12,10 +12,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Windows.h"
 #include "llvm/Support/DataTypes.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/Process.h"
+#include "Windows.h"
 
 namespace {
 





More information about the llvm-commits mailing list