Disable i386 atomics impl on Mac OS X until we find out why it won't compile

This commit is contained in:
rdb 2015-03-31 13:54:38 +02:00
parent 93e8d4d5f5
commit af0d853eef
3 changed files with 2 additions and 8 deletions

View File

@ -31,7 +31,7 @@ struct AtomicAdjust {
#include "atomicAdjustDummyImpl.h"
typedef AtomicAdjustDummyImpl AtomicAdjust;
#elif defined(__i386__) || defined(_M_IX86)
#elif (defined(__i386__) || defined(_M_IX86)) && !defined(__APPLE__)
// For an i386 architecture, we'll always use the i386 implementation.
// It should be safe for any OS, and it might be a bit faster than
// any OS-provided calls.

View File

@ -12,10 +12,4 @@
//
////////////////////////////////////////////////////////////////////
#include "selectThreadImpl.h"
#ifdef __i386__
#include "atomicAdjustI386Impl.h"
#endif // __i386__

View File

@ -18,7 +18,7 @@
#include "dtoolbase.h"
#include "selectThreadImpl.h"
#if defined(__i386__) || defined(_M_IX86)
#if (defined(__i386__) || defined(_M_IX86)) && !defined(__APPLE__)
#include "numeric_types.h"