1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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

llvm-svn: 71837
This commit is contained in:
Owen Anderson 2009-05-15 05:13:57 +00:00
parent f8939f63a1
commit 278050e948

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