fix build without VOIP (David Severwright, bug#3720)

This commit is contained in:
Ludwig Nussel 2008-07-16 07:15:09 +00:00
parent d3cf82b2ee
commit 2ed334b2be
2 changed files with 4 additions and 0 deletions

View file

@ -1356,6 +1356,7 @@ ifeq ($(ARCH),x86)
$(B)/client/snapvectora.o
endif
ifeq ($(USE_VOIP),1)
ifeq ($(USE_INTERNAL_SPEEX),1)
Q3OBJ += \
$(B)/client/bits.o \
@ -1399,6 +1400,7 @@ Q3OBJ += \
$(B)/client/vq.o \
$(B)/client/window.o
endif
endif
ifeq ($(HAVE_VM_COMPILED),true)

View file

@ -343,6 +343,7 @@ void SCR_DrawDemoRecording( void ) {
}
#ifdef USE_VOIP
/*
=================
SCR_DrawVoipMeter
@ -381,6 +382,7 @@ void SCR_DrawVoipMeter( void ) {
sprintf( string, "VoIP: [%s]", buffer );
SCR_DrawStringExt( 320 - strlen( string ) * 4, 10, 8, string, g_color_table[7], qtrue, qfalse );
}
#endif