From 8b4a564235635f7a666aedc0fc79913865ad56b5 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Fri, 27 Jul 2001 21:41:02 +0000 Subject: Few more files compile. --- src/win95/platform.h | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'src/win95/platform.h') diff --git a/src/win95/platform.h b/src/win95/platform.h index cefebf1..7547802 100644 --- a/src/win95/platform.h +++ b/src/win95/platform.h @@ -25,12 +25,15 @@ extern "C" { #define Hardware2dTextureClipping No +#ifndef min +#define min(a, b) (((a) < (b)) ? (a) : (b)) +#endif -/* - - Types +#ifndef max +#define max(a, b) (((a) > (b)) ? (a) : (b)) +#endif -*/ +/* Types */ typedef int BOOL; @@ -56,6 +59,19 @@ typedef struct LONGLONGCH { } LONGLONGCH; +typedef int FILETIME; + +typedef struct SYSTEMTIME +{ +//#warning "SYSTEMTIME format is not correct" + int wHour; + int wMinute; + int wSecond; + int wYear; + int wMonth; + int wDay; +} SYSTEMTIME; + /* Sine and Cosine -- cgit v1.3