]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/python/detail/config.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / python / detail / config.hpp
index 3e4b7c9e54306a289f8f3eef388cd6e13f873f8c..acf588311fa18ae0eddc7b0df060618cde92d205 100644 (file)
 // Set the name of our library, this will get undef'ed by auto_link.hpp
 // once it's done with it:
 //
-#if PY_MAJOR_VERSION == 2
-#  define BOOST_LIB_NAME boost_python
-#elif PY_MAJOR_VERSION == 3
-#  define BOOST_LIB_NAME boost_python3
-#endif
+#define BOOST_LIB_NAME boost_python##PY_MAJOR_VERSION##PY_MINOR_VERSION
 //
 // If we're importing code from a dll, then tell auto_link.hpp about it:
 //