blob: 79ae929d08f1220c39fade80074535f66db810ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From c2916117aa09b7110ab1883e4295330ca7675e88 Mon Sep 17 00:00:00 2001
From: Nitin A Kamble <nitin.a.kamble@intel.com>
Date: Fri, 2 Dec 2011 12:20:05 -0800
Subject: [PATCH] libxt: fix compilatoin with x32 toolchain
Upstream-Status: Pending
This fixes compilation with x32 toolchain.
Received this patch from H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/1
---
include/X11/Xtos.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/X11/Xtos.h b/include/X11/Xtos.h
index 599dbe2..1686063 100644
--- a/include/X11/Xtos.h
+++ b/include/X11/Xtos.h
@@ -63,7 +63,7 @@ SOFTWARE.
defined(__sparc64__) || \
defined(__s390x__) || \
(defined(__hppa__) && defined(__LP64__)) || \
- defined(__amd64__) || defined(amd64) || \
+ defined(__amd64__) || defined(amd64) && defined(__LP64__)) || \
defined(__powerpc64__))
#define LONG64
#endif
|