diff options
Diffstat (limited to 'include/X11/Xtos.h')
-rw-r--r-- | include/X11/Xtos.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/X11/Xtos.h b/include/X11/Xtos.h index 64b2da8..84910c0 100644 --- a/include/X11/Xtos.h +++ b/include/X11/Xtos.h @@ -53,7 +53,11 @@ SOFTWARE. #include <X11/Xalloca.h> -#if defined (_LP64) || \ +#if defined(__SIZEOF_LONG__) +# if __SIZEOF_LONG__ == 8 +# define LONG64 +# endif +# elif defined (_LP64) || \ defined(__alpha) || defined(__alpha__) || \ defined(__ia64__) || defined(ia64) || \ defined(__sparc64__) || \ |