forked from boostorg/config
Fix for missing WCHAR_MAX/WCHAR_MIN defines.
[SVN r23538]
This commit is contained in:
@ -25,6 +25,15 @@
|
|||||||
# define BOOST_NO_CV_VOID_SPECIALIZATIONS
|
# define BOOST_NO_CV_VOID_SPECIALIZATIONS
|
||||||
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||||
# define BOOST_NO_DEDUCED_TYPENAME
|
# define BOOST_NO_DEDUCED_TYPENAME
|
||||||
|
// workaround for missing WCHAR_MAX/WCHAR_MIN:
|
||||||
|
#include <climits>
|
||||||
|
#include <cwchar>
|
||||||
|
#ifndef WCHAR_MAX
|
||||||
|
# define WCHAR_MAX 0xffff
|
||||||
|
#endif
|
||||||
|
#ifndef WCHAR_MIN
|
||||||
|
# define WCHAR_MIN 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__BORLANDC__ <= 0x564)
|
#if (__BORLANDC__ <= 0x564)
|
||||||
|
Reference in New Issue
Block a user