1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

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.
This commit is contained in:
Andy Wingo 2018-06-17 19:16:14 +02:00
parent ba26559795
commit ea3c5cf909
2 changed files with 1 additions and 5 deletions

View file

@ -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

View file

@ -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;