mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
try to limit the #defines (of fseeko to fseek and ftello to ftell) to just the versions of MSVC that appear not to have fseeko()/ftello()
This commit is contained in:
@@ -22,9 +22,10 @@
|
||||
#if defined _MSC_VER || defined __MINGW32__
|
||||
#include <sys/utime.h> /* for utime() */
|
||||
#include <io.h> /* for chmod() */
|
||||
//@@@ [2G limit] hacks for MSVC6
|
||||
#if _MSC_VER <= 1200 /* @@@ [2G limit] */
|
||||
#define fseeko fseek
|
||||
#define ftello ftell
|
||||
#endif
|
||||
#else
|
||||
#include <sys/types.h> /* some flavors of BSD (like OS X) require this to get time_t */
|
||||
#include <utime.h> /* for utime() */
|
||||
|
||||
Reference in New Issue
Block a user