mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 22:40:34 +02:00
Fix `alloca' on FreeBSD 6.
This commit is contained in:
parent
607dc3105d
commit
d412e58c1f
4 changed files with 43 additions and 30 deletions
3
NEWS
3
NEWS
|
@ -20,7 +20,8 @@ would trigger an unbound variable error for `match:andmap'.
|
|||
** Fixed build issues on NetBSD 1.6
|
||||
** Fixed build issue on Solaris 2.10 x86_64
|
||||
** Fixed build issue with DEC/Compaq/HP's compiler
|
||||
** Fixed scm_from_complex_double build issue on FreeBSD
|
||||
** Fixed `scm_from_complex_double' build issue on FreeBSD
|
||||
** Fixed `alloca' build issue on FreeBSD 6
|
||||
|
||||
* Changes to the distribution
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2008-03-10 Ludovic Courtès <ludo@gnu.org>
|
||||
|
||||
* eval.c, filesys.c: Enclose `alloca' blob in `#ifndef alloca',
|
||||
as per Gnulib's `alloca'. This should fix compilation on
|
||||
FreeBSD 6.
|
||||
|
||||
2008-03-09 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* numbers.c: Only define scm_from_complex_double if it will
|
||||
|
|
|
@ -37,7 +37,9 @@
|
|||
|
||||
#ifndef DEVAL
|
||||
|
||||
/* This blob per the Autoconf manual (under "Particular Functions"). */
|
||||
/* This blob per the Autoconf manual (under "Particular Functions"), updated
|
||||
to match that of Gnulib. */
|
||||
#ifndef alloca
|
||||
# if HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
# elif defined __GNUC__
|
||||
|
@ -54,6 +56,7 @@ extern "C"
|
|||
# endif
|
||||
void *alloca (size_t);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include "libguile/_scm.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1996,1997,1998,1999,2000,2001, 2002, 2004, 2006 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996,1997,1998,1999,2000,2001, 2002, 2004, 2006, 2008 Free Software Foundation, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -29,7 +29,9 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
/* This blob per the Autoconf manual (under "Particular Functions"). */
|
||||
/* This blob per the Autoconf manual (under "Particular Functions"), updated
|
||||
to match that of Gnulib. */
|
||||
#ifndef alloca
|
||||
# if HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
# elif defined __GNUC__
|
||||
|
@ -46,6 +48,7 @@ extern "C"
|
|||
# endif
|
||||
void *alloca (size_t);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue