summaryrefslogtreecommitdiff
path: root/math/vtk8/files/patch-IO_EnSight_vtkEnSight6BinaryReader.cxx
blob: 8665a1892011ed0da3a00eae2e8958b12c1b6d18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- IO/EnSight/vtkEnSight6BinaryReader.cxx.orig	2017-11-21 07:34:56 UTC
+++ IO/EnSight/vtkEnSight6BinaryReader.cxx
@@ -36,8 +36,8 @@
 #if defined(_WIN32)
 # define VTK_STAT_STRUCT struct _stat64
 # define VTK_STAT_FUNC _stat64
-#elif defined _DARWIN_FEATURE_64_BIT_INODE && !defined __FreeBSD__
-// FreeBSD and OSX now deprecate stat64
+#elif defined _DARWIN_FEATURE_64_BIT_INODE || defined __FreeBSD__
+// FreeBSD and OSX use stat
 # define VTK_STAT_STRUCT struct stat
 # define VTK_STAT_FUNC stat
 #else