mirror of
https://github.com/boostorg/date_time.git
synced 2026-02-23 15:42:20 +00:00
enable the experimental gregorian duration types
[SVN r23276]
This commit is contained in:
@@ -26,6 +26,12 @@
|
||||
#define BOOST_DATE_TIME_NO_MEMBER_INIT
|
||||
#endif
|
||||
|
||||
//Include extensions to date_duration - comment out to remove this feature
|
||||
#define BOOST_DATE_TIME_OPTIONAL_GREGORIAN_TYPES
|
||||
//these extensions are known to cause problems with gcc295
|
||||
#if defined(__GNUC__) && (__GNUC__ < 3)
|
||||
#undef BOOST_DATE_TIME_OPTIONAL_GREGORIAN_TYPES
|
||||
#endif
|
||||
|
||||
// include these types before we try to re-define them
|
||||
#include "boost/cstdint.hpp"
|
||||
|
||||
Reference in New Issue
Block a user