update boost on linux

This commit is contained in:
Bassem Girgis
2019-08-10 16:06:25 -05:00
parent 76ad52be58
commit 861b918727
5363 changed files with 483306 additions and 116507 deletions

View File

@@ -47,7 +47,23 @@
// And include the header that does the work:
//
#include <boost/config/auto_link.hpp>
// We also need to autolink to the Chrono library; even though
// it's not used in the interface, and no Chrono header is included,
// it's used in the implementation and is necessary in order to link
#if !defined(BOOST_CHRONO_NO_LIB)
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CHRONO_DYN_LINK)
# define BOOST_DYN_LINK
#endif
#define BOOST_LIB_NAME boost_chrono
#include <boost/config/auto_link.hpp>
#endif // !defined(BOOST_CHRONO_NO_LIB)
#endif // auto-linking disabled
#endif // BOOST_TIMER_CONFIG_HPP

View File

@@ -11,7 +11,6 @@
#include <boost/config/warning_disable.hpp>
#include <boost/timer/config.hpp>
//#include <boost/chrono/chrono.hpp>
#include <boost/cstdint.hpp>
#include <string>
#include <cstring>
@@ -41,7 +40,7 @@ namespace timer
nanosecond_type user;
nanosecond_type system;
void clear() { wall = user = system = 0LL; }
void clear() { wall = user = system = 0; }
};
const short default_places = 6;