diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2007-09-12 03:01:17 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2007-09-12 03:01:17 +0000 |
commit | 6d6afdce3e02516e0d7e4beab90a8b131e6965f1 (patch) | |
tree | 67133131d25163ab3efdcc6d7200b36216cb2873 /src/utils | |
parent | 9fbcdcd1a987ab349a5edd725343a00b9f73b918 (diff) | |
download | flac-6d6afdce3e02516e0d7e4beab90a8b131e6965f1.tar.gz |
msvc fixes
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/flacdiff/main.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/utils/flacdiff/main.cpp b/src/utils/flacdiff/main.cpp index 5fc961e5..1aec5595 100644 --- a/src/utils/flacdiff/main.cpp +++ b/src/utils/flacdiff/main.cpp @@ -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: |