[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 04/86: Refactor regarding internal detection of ia64
From: |
Andy Wingo |
Subject: |
[Guile-commits] 04/86: Refactor regarding internal detection of ia64 |
Date: |
Wed, 20 Jun 2018 14:09:27 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit ea3c5cf9099741869043c56bc57f48c46976dc79
Author: Andy Wingo <address@hidden>
Date: Sun Jun 17 19:16:14 2018 +0200
Refactor regarding internal detection of ia64
* libguile/_scm.h: Remove hack to define __ia64__.
* libguile/continuations.c (capture_auxiliary_stack): Use __ia64 or
__ia64__ to detect itanium.
---
libguile/_scm.h | 4 ----
libguile/continuations.c | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/libguile/_scm.h b/libguile/_scm.h
index a6ca151..87ae34b 100644
--- a/libguile/_scm.h
+++ b/libguile/_scm.h
@@ -32,10 +32,6 @@
and differences between _scm.h and __scm.h.
**********************************************************************/
-#if defined(__ia64) && !defined(__ia64__)
-# define __ia64__
-#endif
-
#if HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/libguile/continuations.c b/libguile/continuations.c
index 84cd2ee..6cf483f 100644
--- a/libguile/continuations.c
+++ b/libguile/continuations.c
@@ -120,7 +120,7 @@ static void
capture_auxiliary_stack (scm_i_thread *thread, scm_t_contregs *continuation)
{
#if SCM_HAVE_AUXILIARY_STACK
-# ifndef __ia64__
+# if !(defined __ia64 or defined __ia64__)
# error missing auxiliary stack implementation for architecture
# endif
char *top;
- [Guile-commits] branch master updated (f84ce54 -> 1234bb1), Andy Wingo, 2018/06/20
- [Guile-commits] 02/86: More _scm.h refactoring, Andy Wingo, 2018/06/20
- [Guile-commits] 06/86: Remove _scm.h inclusion of config.h, Andy Wingo, 2018/06/20
- [Guile-commits] 09/86: Remove alignof.h inclusion from _scm.h, Andy Wingo, 2018/06/20
- [Guile-commits] 03/86: Remove _scm hack to undefine HAVE_STRUCT_TIMESPEC, Andy Wingo, 2018/06/20
- [Guile-commits] 04/86: Refactor regarding internal detection of ia64,
Andy Wingo <=
- [Guile-commits] 08/86: Remove _scm.h verify.h inclusion, Andy Wingo, 2018/06/20
- [Guile-commits] 07/86: Remove errno.h include from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 11/86: Require C99 to build Guile, Andy Wingo, 2018/06/20
- [Guile-commits] 01/86: Move syscall-related private defines to their own header, Andy Wingo, 2018/06/20
- [Guile-commits] 19/86: Remove public SCM_VALIDATE_NIM, Andy Wingo, 2018/06/20
- [Guile-commits] 17/86: Remove unused macros, Andy Wingo, 2018/06/20
- [Guile-commits] 10/86: Assume that if we have GCC, we have GCC >= 3.0., Andy Wingo, 2018/06/20
- [Guile-commits] 05/86: Inline definition of SIZEOF_SCM_T_BITS, Andy Wingo, 2018/06/20
- [Guile-commits] 13/86: Remove _scm.h print.h include, Andy Wingo, 2018/06/20
- [Guile-commits] 15/86: Move number validators to numbers.h., Andy Wingo, 2018/06/20