From 464d3336f191f44f4ba3e8f16107303771a003bb Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 19 Feb 2003 10:01:40 +0000 Subject: why don't I commit things? --- include/generic.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/generic.h b/include/generic.h index 2b3dac0..e11f518 100644 --- a/include/generic.h +++ b/include/generic.h @@ -56,12 +56,14 @@ typedef int32 ssize_t; #if defined __linux__ || defined __solaris__ || defined __CYGWIN32__ || defined FORCE64 typedef long long int64; typedef unsigned long long uint64; -#elseif defined _WIN32 +#else +#if defined _WIN32 typedef _int64 int64; typedef unsigned _int64 uint64; #else #error Unsupported platform (need 64 bits ints definition) #endif +#endif #ifndef PACKED #if defined __linux__ || defined __CYGWIN32__ @@ -113,10 +115,12 @@ inline T MIN(T a, T b) { #if defined __linux__ || defined __CYGWIN32__ #define MKDIR(name) mkdir(name, 0777) -#elseif defined __WIN32__ || defined _WIN32 +#else +#if defined __WIN32__ || defined _WIN32 #define MKDIR mkdir #else #error Unknow compiler/platform #endif +#endif #endif -- cgit v1.2.3