forked from 0ad/0ad
Fixing building with older versions of Boost
This was SVN commit r11083.
This commit is contained in:
parent
7656ffa265
commit
4c43d1f9c5
@ -16,8 +16,12 @@
|
||||
#endif
|
||||
|
||||
// don't compile get_system_category() etc, since we don't use them and they
|
||||
// sometimes cause problems when linking
|
||||
#define BOOST_SYSTEM_NO_DEPRECATED
|
||||
// sometimes cause problems when linking.
|
||||
// But Filesystem <= 1.43 requires boost::system::posix, so only disable if newer
|
||||
#include <boost/version.hpp>
|
||||
#if BOOST_VERSION >= 104400
|
||||
# define BOOST_SYSTEM_NO_DEPRECATED
|
||||
#endif
|
||||
|
||||
// the following boost libraries have been included in TR1 and are
|
||||
// thus deemed usable:
|
||||
|
Loading…
Reference in New Issue
Block a user