Merge pull request #530 from mbodmer/master

Removed MSGPACK_ENABLE_GCC_CXX_ATOMIC macro
This commit is contained in:
Takatoshi Kondo 2016-10-11 20:52:51 +09:00 committed by GitHub
commit 1df97bc37b

View File

@ -11,7 +11,6 @@
#ifndef MSGPACK_GCC_ATOMIC_HPP #ifndef MSGPACK_GCC_ATOMIC_HPP
#define MSGPACK_GCC_ATOMIC_HPP #define MSGPACK_GCC_ATOMIC_HPP
#ifdef MSGPACK_ENABLE_GCC_CXX_ATOMIC
#if defined(__GNUC__) && ((__GNUC__*10 + __GNUC_MINOR__) < 41) #if defined(__GNUC__) && ((__GNUC__*10 + __GNUC_MINOR__) < 41)
#include "msgpack/gcc_atomic.h" #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 // old gcc workaround
#endif // MSGPACK_ENABLE_GCC_CXX_ATOMIC
#endif /* gcc_atomic.hpp */ #endif /* gcc_atomic.hpp */