Skip to content

Commit

Permalink
Added the comment for BOOST_PP_VARIADICS define.
Browse files Browse the repository at this point in the history
  • Loading branch information
redboltz committed Jul 5, 2015
1 parent 777e5f1 commit 584bd85
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions erb/cpp03_define_map.hpp.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

#if defined(MSGPACK_USE_BOOST)

// BOOST_PP_VARIADICS is defined in boost/preprocessor/config/config.hpp
// 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.
#define BOOST_PP_VARIADICS
#include <boost/preprocessor.hpp>

Expand Down
4 changes: 4 additions & 0 deletions include/msgpack/adaptor/detail/cpp03_define_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

#if defined(MSGPACK_USE_BOOST)

// BOOST_PP_VARIADICS is defined in boost/preprocessor/config/config.hpp
// 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.
#define BOOST_PP_VARIADICS
#include <boost/preprocessor.hpp>

Expand Down
4 changes: 4 additions & 0 deletions include/msgpack/adaptor/detail/cpp11_define_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

#if defined(MSGPACK_USE_BOOST)

// BOOST_PP_VARIADICS is defined in boost/preprocessor/config/config.hpp
// 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.
#define BOOST_PP_VARIADICS
#include <boost/preprocessor.hpp>

Expand Down

0 comments on commit 584bd85

Please sign in to comment.