Commit 6f5dcab1 authored by yurivict's avatar yurivict

Correction to when stat64 is used: FreeBSD doesn't use stat64.

parent f94df60b
......@@ -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
......
......@@ -37,8 +37,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment