Bug 450265 Make theora build with VC7.1 r=doublec

This commit is contained in:
Neil Rashbrook 2008-08-14 11:21:24 +01:00
parent d2f474a8aa
commit 2c2a9bf88f
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
The source from this directory was copied from the libtheora-1.0beta3
source distribution using the update.sh script. The only changes made
were those applied by update.sh and the addition/upate of Makefile.in
files for the Mozilla build system.
source distribution using the update.sh script. The changes made were
those applied by update.sh, the addition/update of Makefile.in files
for the Mozilla build system and the patch in bug 450265.

View File

@ -28,7 +28,10 @@
# include "dec/quant.h"
/* debug macros */
#ifdef _TH_DEBUG_
#if defined(_MSC_VER) && _MSC_VER < 1400
static const dframe = 0;
static void TH_DEBUG(const char *fmt, ...) {}
#elif defined(_TH_DEBUG_)
#include <stdio.h>
extern long dframe;
extern FILE *debugout;