Build fixes for Mac OS X, thanks to Alex

svn path=/trunk/; revision=28406
This commit is contained in:
Colin Finck
2007-08-18 19:07:13 +00:00
parent b5c0564c8e
commit 4bb5fb5f3c
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ filelen ( FILE* f )
#ifdef WIN32
return _filelengthi64 ( _fileno(f) );
#else
# ifdef __FreeBSD__
# if defined(__FreeBSD__) || defined(__APPLE__)
struct stat file_stat;
if ( fstat(fileno(f), &file_stat) != 0 )
# else