msvc fixes

This commit is contained in:
Josh Coalson
2007-09-12 03:01:17 +00:00
parent 9fbcdcd1a9
commit 6d6afdce3e
2 changed files with 16 additions and 11 deletions

View File

@@ -23,12 +23,17 @@
#include <stdio.h>
#include <string.h>
#include "FLAC++/decoder.h"
#if defined _MSC_VER || defined __MINGW32__
#if _MSC_VER <= 1600 /* @@@ [2G limit] */
#define fseeko fseek
#define ftello ftell
#endif
#endif
#if defined _MSC_VER || defined __MINGW32__
#if _MSC_VER <= 1600 /* @@@ [2G limit] */
#define fseeko fseek
#define ftello ftell
#endif
#endif
#ifdef _MSC_VER
// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
#pragma warning ( disable : 4800 )
#endif
class AutoFILE {
protected: