--- OpenImageIO-oiio-e9fa4c7/src/include/thread.h~ 2012-07-09 08:28:46.000000000 +0200 +++ OpenImageIO-oiio-e9fa4c7/src/include/thread.h 2012-07-12 00:36:54.502654305 +0200 @@ -102,11 +102,7 @@ # include #endif -#if defined(__GNUC__) && (defined(_GLIBCXX_ATOMIC_BUILTINS) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 401)) -#if !defined(__FreeBSD__) || defined(__x86_64__) -#define USE_GCC_ATOMICS -#endif -#endif +#undef USE_GCC_ATOMICS OIIO_NAMESPACE_ENTER {