]> git.saurik.com Git - wxWidgets.git/commitdiff
tentative fix for large files compilation under HP-UX
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Aug 2005 23:13:53 +0000 (23:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Aug 2005 23:13:53 +0000 (23:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 6fac11da6cde44d93eb73c68ce4295df15e7e3a4..ac77e940e9477629755f3653ae9b361fa6dd767e 100644 (file)
@@ -1872,6 +1872,12 @@ dnl problems
 if test "x$wx_largefile" = "xyes"; then
     if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
         WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
+
+        dnl we get "Large Files (ILP32) not supported in strict ANSI mode."
+        dnl #error from HP standard headers without this
+        if test "$USE_HPUX" = 1; then
+            CPPFLAGS="$CPPFLAGS -D__STDC_EXT__"
+        fi
     else
         WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
     fi