diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/hge.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 <windows.h> +#include <cstddef> #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 */ |