From ce52988a85f7ccada8d5a788e74176447159dfd7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 17 Aug 2005 23:13:53 +0000 Subject: [PATCH] tentative fix for large files compilation under HP-UX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index 6fac11da6c..ac77e940e9 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.45.2