diff options
author | Brad King <brad.king@kitware.com> | 2005-04-13 19:39:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-13 19:39:03 (GMT) |
commit | be1084b5241725095a7e0591eaf593a4606204a1 (patch) | |
tree | cc9f9c5e94b5c22dd4f375d718e3eed75d82afd3 /Source/kwsys/Configure.hxx.in | |
parent | 551b28d501058c3437b0c8d962e1662ccdbef392 (diff) | |
download | CMake-be1084b5241725095a7e0591eaf593a4606204a1.zip CMake-be1084b5241725095a7e0591eaf593a4606204a1.tar.gz CMake-be1084b5241725095a7e0591eaf593a4606204a1.tar.bz2 |
COMP: Added KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT check for non-standard argument to stl allocator<>::max_size method. Needed for kwsys hashtable to compile on Sun CC.
Diffstat (limited to 'Source/kwsys/Configure.hxx.in')
-rw-r--r-- | Source/kwsys/Configure.hxx.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.hxx.in b/Source/kwsys/Configure.hxx.in index 13d3a97..1ea8b37 100644 --- a/Source/kwsys/Configure.hxx.in +++ b/Source/kwsys/Configure.hxx.in @@ -96,6 +96,9 @@ /* Whether the stl allocator has rebind. */ #define @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_REBIND @KWSYS_STL_HAS_ALLOCATOR_REBIND@ +/* Whether the stl allocator has a size argument for max_size. */ +#define @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT @KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT@ + /* Whether struct stat has the st_mtim member for high resolution times. */ #define @KWSYS_NAMESPACE@_STAT_HAS_ST_MTIM @KWSYS_STAT_HAS_ST_MTIM@ @@ -124,6 +127,7 @@ # define KWSYS_CXX_DEFINE_SPECIALIZATION @KWSYS_NAMESPACE@_CXX_DEFINE_SPECIALIZATION # define KWSYS_CXX_DECL_TYPENAME @KWSYS_NAMESPACE@_CXX_DECL_TYPENAME # define KWSYS_STL_HAS_ALLOCATOR_REBIND @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_REBIND +# define KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT #endif #endif |