autoconf.hh (fstransform-0.9.3-src) | : | autoconf.hh (fstransform-0.9.4) | ||
---|---|---|---|---|
skipping to change at line 34 | skipping to change at line 34 | |||
* Created on: Feb 27, 2011 | * Created on: Feb 27, 2011 | |||
* Author: max | * Author: max | |||
*/ | */ | |||
#ifndef FSTRANSFORM_AUTOCONF_HH | #ifndef FSTRANSFORM_AUTOCONF_HH | |||
#define FSTRANSFORM_AUTOCONF_HH | #define FSTRANSFORM_AUTOCONF_HH | |||
#include "check.hh" | #include "check.hh" | |||
#include "ft_config.hh" | #include "ft_config.hh" | |||
/** | ||||
* define if C++ library implements something usable for ft_unsorted_map<K,V> | ||||
* possibilities include: std::unordered_map<K,V> and std::tr1::unordered_map<K, | ||||
V> | ||||
*/ | ||||
#if !defined(FT_HAVE_FT_UNSORTED_MAP) && (defined(FT_HAVE_STD_UNORDERED_MAP) || | ||||
defined(FT_HAVE_STD_TR1_UNORDERED_MAP)) | ||||
# define FT_HAVE_FT_UNSORTED_MAP | ||||
#endif | ||||
/** define if compiler supports the types (long long) and (unsigned long long) * / | /** define if compiler supports the types (long long) and (unsigned long long) * / | |||
#if !defined(FT_HAVE_LONG_LONG) || !defined(FT_HAVE_UNSIGNED_LONG_LONG) | #if !defined(FT_HAVE_LONG_LONG) || !defined(FT_HAVE_UNSIGNED_LONG_LONG) | |||
# if defined(__GNUC__) | # if defined(__GNUC__) | |||
# define FT_HAVE_LONG_LONG | # define FT_HAVE_LONG_LONG | |||
# define FT_HAVE_UNSIGNED_LONG_LONG | # define FT_HAVE_UNSIGNED_LONG_LONG | |||
# endif | # endif | |||
#endif /* FT_HAVE_LONG_LONG */ | #endif /* FT_HAVE_LONG_LONG */ | |||
/* (long long) and (unsigned long long) are useful only if they are BOTH support ed */ | /* (long long) and (unsigned long long) are useful only if they are BOTH support ed */ | |||
#ifndef FT_HAVE_LONG_LONG | #ifndef FT_HAVE_LONG_LONG | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 10 lines changed or added |