aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-03-20 08:53:42 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-03-20 08:53:42 -0700
commit114883e00a8aebc3ce48831aa60bef8f963c7e95 (patch)
treeb6831ba24872e7c0f813f34a72ffe0b6dd99021f /sysdeps/x86_64
parentc135cc1b5f24fab392af069daa637b51621c67ff (diff)
downloadglibc-114883e00a8aebc3ce48831aa60bef8f963c7e95.tar
glibc-114883e00a8aebc3ce48831aa60bef8f963c7e95.tar.gz
glibc-114883e00a8aebc3ce48831aa60bef8f963c7e95.tar.bz2
glibc-114883e00a8aebc3ce48831aa60bef8f963c7e95.zip
Support x86-64 __jmp_buf with __WORDSIZE != 64
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/bits/setjmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/bits/setjmp.h b/sysdeps/x86_64/bits/setjmp.h
index a66ca0fa5a..bb6920d44e 100644
--- a/sysdeps/x86_64/bits/setjmp.h
+++ b/sysdeps/x86_64/bits/setjmp.h
@@ -29,6 +29,8 @@
# if __WORDSIZE == 64
typedef long int __jmp_buf[8];
+# elif defined __x86_64__
+typedef long long int __jmp_buf[8];
# else
typedef int __jmp_buf[6];
# endif