Fix quirks for building PPC on windows.

svn path=/trunk/; revision=29591
This commit is contained in:
Art Yerkes
2007-10-15 03:56:58 +00:00
parent 001703300c
commit 3d34c28eb4
5 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ filelen ( FILE* f )
#ifdef WIN32
return _filelengthi64 ( _fileno(f) );
#else
# if defined(__FreeBSD__) || defined(__APPLE__)
# if defined(__FreeBSD__) || defined(__APPLE__) || defined(__CYGWIN__)
struct stat file_stat;
if ( fstat(fileno(f), &file_stat) != 0 )
# else