--- Frodo4/Src/sysdeps.h 2004/01/14 16:44:22 1.8 +++ Frodo4/Src/sysdeps.h 2007/01/28 13:44:05 1.10 @@ -2,7 +2,7 @@ * sysdeps.h - Try to include the right system headers and get other * system-specific stuff right * - * Frodo (C) 1994-1997,2002-2004 Christian Bauer + * Frodo (C) 1994-1997,2002-2005 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -183,6 +183,26 @@ typedef long int32; #error No 4 byte type, you lose. #endif +#if SIZEOF_LONG == 8 +typedef unsigned long uint64; +typedef long int64; +#elif SIZEOF_LONG_LONG == 8 +typedef unsigned long long uint64; +typedef long long int64; +#else +#error No 8 byte type, you lose. +#endif + +#if SIZEOF_VOID_P == 4 +typedef uint32 uintptr; +typedef int32 intptr; +#elif SIZEOF_VOID_P == 8 +typedef uint64 uintptr; +typedef int64 intptr; +#else +#error Unsupported size of pointer +#endif + #else #include #endif // __BEOS__