Commit fee116f163472e80d7f32af4b050be289af7e3da

Authored by Nathanael Jourdane
1 parent bb1830f9
Exists in centos7

backwards compatibility with Boost 5.1

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
src/helpers/dsgpatt_Singleton.hh
... ... @@ -35,7 +35,11 @@ DESCRIPTION
35 35 #define _PATTERN_SINGLETON_HH_ 1
36 36  
37 37 #include <boost/thread/mutex.hpp>
38   -#include <boost/thread/locks.hpp>
  38 +
  39 +#if ((BOOST_VERSION / 100) % 1000) >= 53
  40 + #include <boost/thread/locks.hpp>
  41 +#endif
  42 +
39 43 /**
40 44  
41 45 */
... ...