summaryrefslogtreecommitdiff
path: root/graphics/osg/patches/patch-ab
blob: 5605b300d7927c847cbbd783ff9aaf824cf4c49b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.3 2012/03/07 16:27:35 adam Exp $

--- src/osgDB/FileUtils.cpp.orig	2009-01-12 17:28:37.000000000 +0200
+++ src/osgDB/FileUtils.cpp	2009-01-12 17:30:14.000000000 +0200
@@ -76,7 +76,7 @@
     #if (MAC_OS_X_VERSION_MAX_ALLOWED <= 1040)
         #define stat64 stat
     #endif
-#elif defined(__CYGWIN__) || defined(__FreeBSD__) || (defined(__hpux) && !defined(_LARGEFILE64_SOURCE))
+#elif defined(__CYGWIN__) || defined(__FreeBSD__) || defined (__NetBSD__) || (defined(__hpux) || defined(__DragonFly__) && !defined(_LARGEFILE64_SOURCE))
     #define stat64 stat
 #endif