glide2x, cvg: build fixes for MSVC 6

This commit is contained in:
sezero
2018-08-18 17:56:51 +03:00
parent 14b3357ab8
commit 6e6171b857
2 changed files with 4 additions and 4 deletions

View File

@@ -272,10 +272,10 @@ xtexdl_3dnow.obj: xtexdl.asm
$(GLIDE_OBJECTS): fxinline.h fxgasm.h
fxinline.h: fxgasm.exe
./$< -inline > $@
$< -inline > $@
fxgasm.h: fxgasm.exe
./$< -hex > $@
$< -hex > $@
fxgasm.exe: fxgasm.c
$(CC) -o $@ $(CFLAGS) $<

View File

@@ -6,7 +6,7 @@
* This routine sets the precision to single which effects all
* adds, mults, and divs.
*/
#if defined(__i386__) || defined(__x86_64__)
#if defined(__i386__) || defined(__x86_64__) || defined(_M_IX86)
void single_precision_asm()
{
#if defined(__MSC__)
@@ -44,7 +44,7 @@ void single_precision_asm()
* This routine sets the precision to double which effects all
* adds, mults, and divs.
*/
#if defined(__i386__) || defined(__x86_64__)
#if defined(__i386__) || defined(__x86_64__) || defined(_M_IX86)
void double_precision_asm()
{
#if defined(__MSC__)