1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Fix build issue in `gc.c' on GNU/Linux IA64.

This commit is contained in:
Ludovic Courtès 2008-02-22 09:53:02 +00:00
parent 27ba39f2e6
commit bfb64eb408
3 changed files with 9 additions and 3 deletions

3
NEWS
View file

@ -40,7 +40,8 @@ Changes in 1.8.5 (since 1.8.4)
* Bugs fixed * Bugs fixed
** `scm_add_slot ()' no longer segfaults (fixes bug #22369) ** `scm add_slot ()' no longer segfaults (fixes bug #22369)
** Fixed build issue for GNU/Linux on IA64
Changes in 1.8.4 (since 1.8.3) Changes in 1.8.4 (since 1.8.3)

View file

@ -1,3 +1,8 @@
2008-02-22 Ludovic Courtès <ludo@gnu.org>
* gc.c (scm_ia64_ar_bsp)[linux]: Don't discard `const' qualifier
of OPAQUE.
2008-02-21 Ludovic Courtès <ludo@gnu.org> 2008-02-21 Ludovic Courtès <ludo@gnu.org>
Fix bug #22369. Fix bug #22369.

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2006 Free Software Foundation, Inc. /* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2006, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -1104,7 +1104,7 @@ scm_ia64_register_backing_store_base (void)
void * void *
scm_ia64_ar_bsp (const void *opaque) scm_ia64_ar_bsp (const void *opaque)
{ {
ucontext_t *ctx = opaque; const ucontext_t *ctx = opaque;
return (void *) ctx->uc_mcontext.sc_ar_bsp; return (void *) ctx->uc_mcontext.sc_ar_bsp;
} }
# endif /* linux */ # endif /* linux */