make dist and compile fixes for mingw cross building

This commit is contained in:
Bill Currie 2001-05-22 19:13:23 +00:00
parent 351e70b3bd
commit a8e1da5d99
5 changed files with 7 additions and 4 deletions

View file

@ -4,6 +4,8 @@ AUTOMAKE_OPTIONS= foreign
SUBDIRS= debian doc include libs qw nq
EXTRA_DIST= ChangeLog RPM/build_rpm.in \
tools/cross/cross-configure.sh tools/cross/cross-make.sh \
tools/cross/cross.sh \
tools/gas2masm/Makefile tools/gas2masm/gas2masm.c \
tools/gas2masm/gas2masm.dsp tools/gas2masm/gas2masm.dsw \
tools/gas2masm/gas2masm.mak tools/gas2masm/gas2masm.mdp \

View file

@ -687,10 +687,10 @@ AppActivate (BOOL fActive, BOOL minimize)
// enable/disable sound on focus gain/loss
if (!ActiveApp && sound_active) {
S_BlockSound ();
//XXX S_BlockSound ();
sound_active = false;
} else if (ActiveApp && !sound_active) {
S_UnblockSound ();
//XXX S_UnblockSound ();
sound_active = true;
}

View file

@ -620,7 +620,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
Sys_Init ();
// because sound is off until we become active
S_BlockSound ();
//XXX S_BlockSound ();
Sys_Printf ("Host_Init\n");
Host_Init (&parms);

View file

@ -30,6 +30,7 @@
# include "config.h"
#endif
#include "QF/compat.h"
#include "QF/draw.h"
#include "QF/render.h"

View file

@ -479,7 +479,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
Sys_Error ("Couldn't create event");
// because sound is off until we become active
S_BlockSound ();
//XXX S_BlockSound ();
Sys_Printf ("Host_Init\n");
Host_Init ();