25 #ifndef PAGMO_CONFIG_H
26 #define PAGMO_CONFIG_H
62 #ifdef PAGMO_DLL_EXPORT_API
63 #define __PAGMO_VISIBLE __declspec(dllexport)
64 #elif defined ( PAGMO_DLL_IMPORT_API )
65 #define __PAGMO_VISIBLE __declspec(dllimport)
67 #define __PAGMO_VISIBLE
69 #define __PAGMO_VISIBLE_FUNC __PAGMO_VISIBLE
71 #define __PAGMO_VISIBLE __attribute__ ((visibility("default")))
72 #define __PAGMO_VISIBLE_FUNC
77 #include <boost/math/constants/constants.hpp>
79 #define M_PI boost::math::constants::pi<double>()
82 #define M_PI_2 boost::math::constants::pi<double>()/2
85 #define M_PI_4 boost::math::constants::pi<double>()/4
88 #define M_E boost::math::constants::e<double>()