summaryrefslogtreecommitdiff
path: root/include/X11/Xtos.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/Xtos.h')
-rw-r--r--include/X11/Xtos.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/X11/Xtos.h b/include/X11/Xtos.h
index a512d1e..3b1b91d 100644
--- a/include/X11/Xtos.h
+++ b/include/X11/Xtos.h
@@ -48,6 +48,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
+/* $XFree86: xc/lib/Xt/Xtos.h,v 3.10 2002/04/04 14:05:35 eich Exp $ */
#ifndef _Xtos_h
#define _Xtos_h
@@ -60,7 +61,12 @@ SOFTWARE.
#define WORD64
#endif
-#ifdef __alpha
+#if defined(__alpha) || defined(__alpha__) || \
+ defined(__ia64__) || defined(ia64) || \
+ defined(__sparc64__) || \
+ defined(__s390x__) || \
+ (defined(__hppa__) && defined(__LP64__)) || \
+ defined(__x86_64__) || defined(x86_64)
#define LONG64
#endif