diff options
author | pixel <pixel> | 2003-02-19 10:01:40 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-02-19 10:01:40 +0000 |
commit | 464d3336f191f44f4ba3e8f16107303771a003bb (patch) | |
tree | 2cb20be3dd073e282f59662cbd53ca01aa30f888 | |
parent | 972bf871902c96c509e0d263e709bc00647e1cd9 (diff) |
why don't I commit things?
-rw-r--r-- | include/generic.h | 8 |
1 files 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 |