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:
Josh Coalson
2006-10-03 01:16:59 +00:00
parent 799c700f84
commit 825e72cf57
13 changed files with 28 additions and 15 deletions

View File

@@ -47,10 +47,11 @@
#include <sys/stat.h> /* for stat() */
#include <sys/types.h> /* for off_t */
#if defined _MSC_VER || defined __MINGW32__
/*@@@ [2G limit] hacks for MSVC6 */
#if _MSC_VER <= 1200 /* @@@ [2G limit] */
#define fseeko fseek
#define ftello ftell
#endif
#endif
#include "FLAC/assert.h"
#include "protected/stream_decoder.h"
#include "private/bitbuffer.h"