fixed size_t == uint detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b0c89ddf39
commit
19af3b06be
10
configure.in
10
configure.in
@ -2300,6 +2300,8 @@ fi
|
||||
|
||||
dnl check what exactly size_t is on this machine - this is necessary to avoid
|
||||
dnl ambiguos overloads in several places, notably wx/string.h and wx/array.h
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_CACHE_CHECK([if size_t is unsigned int],
|
||||
wx_cv_size_t_is_uint,
|
||||
AC_TRY_COMPILE([#include <stddef.h>],
|
||||
@ -2330,6 +2332,8 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_LANG_RESTORE
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Checks for structures
|
||||
dnl ---------------------------------------------------------------------------
|
||||
@ -2556,9 +2560,9 @@ AC_CACHE_CHECK([if iconv() takes char**], wx_cv_iconv_takes_char,
|
||||
AC_TRY_COMPILE([#include <iconv.h>],
|
||||
[
|
||||
char **inbuf, **outbuf;
|
||||
iconv_t cd;
|
||||
size_t insz, outsz;
|
||||
iconv(cd, inbuf, &insz, outbuf, &outsz);
|
||||
iconv_t cd;
|
||||
size_t insz, outsz;
|
||||
iconv(cd, inbuf, &insz, outbuf, &outsz);
|
||||
],
|
||||
wx_cv_iconv_takes_char=yes,
|
||||
wx_cv_iconv_takes_char=no)
|
||||
|
Loading…
Reference in New Issue
Block a user