From: Vadim Zeitlin Date: Thu, 11 Jan 2007 00:30:13 +0000 (+0000) Subject: do strtoll() test using C++ compiler as at least under SGI this function is accessibl... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/02f0eca5fb09b12fa0c6974ee600ad4023d5eec4?ds=inline do strtoll() test using C++ compiler as at least under SGI this function is accessible from C99 but not C++ code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index 841623dd92..8384eaaf2e 100644 --- a/configure.in +++ b/configure.in @@ -2545,11 +2545,16 @@ fi dnl check for C99 string to long long conversion functions, assume that if we dnl have the unsigned variants, then we have the signed ones as well +dnl +dnl at least under SGI these functions are only available in C99 code and not +dnl in C++ so do these tests using C++ compiler +AC_LANG_PUSH(C++) if test "wxUSE_UNICODE" = "yes"; then WX_CHECK_FUNCS(wcstoull) else WX_CHECK_FUNCS(strtoull) fi +AC_LANG_POP() dnl --------------------------------------------------------------------------- dnl Optional libraries