Don't #include OSAtomic.h unless we really need it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71837 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2009-05-15 05:13:57 +00:00
parent c98a77d078
commit 8060424c40

View File

@ -17,8 +17,10 @@
#include "llvm/Config/config.h"
#include <stdint.h>
#ifdef __APPLE__
#if defined(__APPLE__)
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ == 0)
#include <libkern/OSAtomic.h>
#endif
#elif LLVM_ON_WIN32
#include <windows.h>
#endif