[Glide64] Other cleanups like changing __WINDOWS__ to WIN32

This commit is contained in:
zilmar 2015-10-09 10:44:03 +11:00
parent 606189f8de
commit 549e2f78fb
3 changed files with 9 additions and 2 deletions

View File

@ -38,6 +38,13 @@
//**************************************************************** //****************************************************************
#include "Gfx #1.3.h" #include "Gfx #1.3.h"
extern "C" {
#ifndef NOSSE
#include <xmmintrin.h>
#endif
}
#include <math.h>
#include "3dmath.h" #include "3dmath.h"
void calc_light (VERTEX *v) void calc_light (VERTEX *v)

View File

@ -70,7 +70,7 @@ int grid = 0;
static const char *tri_type[4] = { "TRIANGLE", "TEXRECT", "FILLRECT", "BACKGROUND" }; static const char *tri_type[4] = { "TRIANGLE", "TEXRECT", "FILLRECT", "BACKGROUND" };
//Platform-specific stuff //Platform-specific stuff
#ifndef __WINDOWS__ #ifndef WIN32
typedef struct dbgPOINT { typedef struct dbgPOINT {
int x; int x;
int y; int y;

View File

@ -105,7 +105,7 @@ typedef unsigned char boolean;
#define GLIDE64_CATCH catch (...) #define GLIDE64_CATCH catch (...)
#endif #endif
#ifndef __WINDOWS__ #ifndef WIN32
typedef void* HWND; typedef void* HWND;
#endif #endif