mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +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:
parent
ba26559795
commit
ea3c5cf909
2 changed files with 1 additions and 5 deletions
|
@ -32,10 +32,6 @@
|
||||||
and differences between _scm.h and __scm.h.
|
and differences between _scm.h and __scm.h.
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#if defined(__ia64) && !defined(__ia64__)
|
|
||||||
# define __ia64__
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -120,7 +120,7 @@ static void
|
||||||
capture_auxiliary_stack (scm_i_thread *thread, scm_t_contregs *continuation)
|
capture_auxiliary_stack (scm_i_thread *thread, scm_t_contregs *continuation)
|
||||||
{
|
{
|
||||||
#if SCM_HAVE_AUXILIARY_STACK
|
#if SCM_HAVE_AUXILIARY_STACK
|
||||||
# ifndef __ia64__
|
# if !(defined __ia64 or defined __ia64__)
|
||||||
# error missing auxiliary stack implementation for architecture
|
# error missing auxiliary stack implementation for architecture
|
||||||
# endif
|
# endif
|
||||||
char *top;
|
char *top;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue