From 8d09b7090d9e0770f5a2c4533e0770a4dd37d356 Mon Sep 17 00:00:00 2001 From: Marc Bodmer Date: Tue, 11 Oct 2016 10:33:08 +0200 Subject: [PATCH] Removed MSGPACK_ENABLE_GCC_CXX_ATOMIC macro since this does not exist in user code and this code would not be active then. --- include/msgpack/gcc_atomic.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/msgpack/gcc_atomic.hpp b/include/msgpack/gcc_atomic.hpp index c21e5d99..9656e533 100644 --- a/include/msgpack/gcc_atomic.hpp +++ b/include/msgpack/gcc_atomic.hpp @@ -11,7 +11,6 @@ #ifndef MSGPACK_GCC_ATOMIC_HPP #define MSGPACK_GCC_ATOMIC_HPP -#ifdef MSGPACK_ENABLE_GCC_CXX_ATOMIC #if defined(__GNUC__) && ((__GNUC__*10 + __GNUC_MINOR__) < 41) #include "msgpack/gcc_atomic.h" @@ -28,6 +27,5 @@ int _msgpack_sync_incr_and_fetch(volatile _msgpack_atomic_counter_t* ptr) } #endif // old gcc workaround -#endif // MSGPACK_ENABLE_GCC_CXX_ATOMIC #endif /* gcc_atomic.hpp */