[llvm-commits] [llvm] r72148 - /llvm/trunk/include/llvm/System/Atomic.h

Owen Anderson resistor at mac.com
Tue May 19 17:31:29 PDT 2009


Author: resistor
Date: Tue May 19 19:31:29 2009
New Revision: 72148

URL: http://llvm.org/viewvc/llvm-project?rev=72148&view=rev
Log:
We need to include config.h here so that the #defines are set properly.

Modified:
    llvm/trunk/include/llvm/System/Atomic.h

Modified: llvm/trunk/include/llvm/System/Atomic.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Atomic.h?rev=72148&r1=72147&r2=72148&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/Atomic.h (original)
+++ llvm/trunk/include/llvm/System/Atomic.h Tue May 19 19:31:29 2009
@@ -14,6 +14,8 @@
 #ifndef LLVM_SYSTEM_ATOMIC_H
 #define LLVM_SYSTEM_ATOMIC_H
 
+#include "llvm/Config/config.h"
+
 #if defined(_MSC_VER)
 #include <windows.h>
 #endif





More information about the llvm-commits mailing list