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:
parent
f8939f63a1
commit
278050e948
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user