Added BOOST_PP_VARIADICS checking to avoid multiple definition.

This commit is contained in:
Takatoshi Kondo 2015-07-15 13:54:55 +09:00
parent d3450c1fce
commit a35fe57737
3 changed files with 9 additions and 0 deletions

View File

@ -24,7 +24,10 @@
// http://www.boost.org/libs/preprocessor/doc/ref/variadics.html
// However, supporting compiler detection is not complete. msgpack-c requires
// variadic macro arguments support. So BOOST_PP_VARIADICS is defined here explicitly.
#if !defined(BOOST_PP_VARIADICS)
#define BOOST_PP_VARIADICS
#endif
#include <boost/preprocessor.hpp>
#include "msgpack/versioning.hpp"

View File

@ -24,7 +24,10 @@
// http://www.boost.org/libs/preprocessor/doc/ref/variadics.html
// However, supporting compiler detection is not complete. msgpack-c requires
// variadic macro arguments support. So BOOST_PP_VARIADICS is defined here explicitly.
#if !defined(BOOST_PP_VARIADICS)
#define BOOST_PP_VARIADICS
#endif
#include <boost/preprocessor.hpp>
#include "msgpack/versioning.hpp"

View File

@ -24,7 +24,10 @@
// http://www.boost.org/libs/preprocessor/doc/ref/variadics.html
// However, supporting compiler detection is not complete. msgpack-c requires
// variadic macro arguments support. So BOOST_PP_VARIADICS is defined here explicitly.
#if !defined(BOOST_PP_VARIADICS)
#define BOOST_PP_VARIADICS
#endif
#include <boost/preprocessor.hpp>
#include "msgpack/versioning.hpp"