From c28783ee430b106b636bf636bddf0799126a19d5 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Fri, 21 Mar 2014 13:17:10 +0000 Subject: Experimental support for cross compiling with mingw-w64. Fix blinking HangUpText. Exit 1 if not terminated correctly. --- include/hge.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/hge.h b/include/hge.h index 131cbbf..daed571 100644 --- a/include/hge.h +++ b/include/hge.h @@ -12,8 +12,9 @@ #include "unix_compat.h" -#ifdef _WINDOWS +#ifdef WIN32 #include +#include #endif #define HGE_VERSION 0x181 @@ -47,12 +48,12 @@ #define sinf (float)sin #define powf (float)pow #define fabsf (float)fabs - - #define min(x,y) ((x) < (y)) ? (x) : (y) - #define max(x,y) ((x) > (y)) ? (x) : (y) + #define min(x,y) ((x) < (y)? (x) : (y)) + #define max(x,y) ((x) > (y)? (x) : (y)) #endif + /* ** Common data types */ -- cgit v1.2.3