From 63789c81b9fc03d97530727e1d0a5872963c05d0 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 27 Sep 2007 12:15:39 +0000 Subject: [PATCH] From Mathias Froehlich, compile fix for HP-UX without large file support --- src/osgDB/FileUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/FileUtils.cpp b/src/osgDB/FileUtils.cpp index 612a3bec8..7fb17061c 100644 --- a/src/osgDB/FileUtils.cpp +++ b/src/osgDB/FileUtils.cpp @@ -47,7 +47,7 @@ #if (MAC_OS_X_VERSION_MAX_ALLOWED <= 1040) #define stat64 stat #endif -#elif defined(__CYGWIN__) || defined(__FreeBSD__) +#elif defined(__CYGWIN__) || defined(__FreeBSD__) || (defined(__hpux) && !defined(_LARGEFILE64_SOURCE)) #define stat64 stat #endif