~peter-pearse/ubuntu/natty/guile-1.8/prop001

« back to all changes in this revision

Viewing changes to libguile/filesys.c

  • Committer: Bazaar Package Importer
  • Author(s): Rob Browning
  • Date: 2008-05-10 12:18:50 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080510121850-mwi7tobbfkat03vr
Tags: 1.8.5+1-1
* Incorporate new upstream stable release.

* Fix gcc 4.3 compilation problems (fixed upstream now).  Thanks to
  Alexander Schmehl <tolimar@debian.org> for the previous, related
  1.8.4+1-2.1 NMU, and to Maximiliano Curia and Daniel Schepler for the
  original patch. (closes: #462384, #466778)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 1996,1997,1998,1999,2000,2001, 2002, 2004, 2006 Free Software Foundation, Inc.
 
1
/* Copyright (C) 1996,1997,1998,1999,2000,2001, 2002, 2004, 2006, 2008 Free Software Foundation, Inc.
2
2
 * 
3
3
 * This library is free software; you can redistribute it and/or
4
4
 * modify it under the terms of the GNU Lesser General Public
29
29
#  include <config.h>
30
30
#endif
31
31
 
32
 
/* This blob per the Autoconf manual (under "Particular Functions"). */
33
 
#if HAVE_ALLOCA_H
34
 
# include <alloca.h>
35
 
#elif defined __GNUC__
36
 
# define alloca __builtin_alloca
37
 
#elif defined _AIX
38
 
# define alloca __alloca
39
 
#elif defined _MSC_VER
40
 
# include <malloc.h>
41
 
# define alloca _alloca
42
 
#else
43
 
# include <stddef.h>
44
 
# ifdef  __cplusplus
 
32
/* This blob per the Autoconf manual (under "Particular Functions"), updated
 
33
   to match that of Gnulib.  */
 
34
#ifndef alloca
 
35
# if HAVE_ALLOCA_H
 
36
#  include <alloca.h>
 
37
# elif defined __GNUC__
 
38
#  define alloca __builtin_alloca
 
39
# elif defined _AIX
 
40
#  define alloca __alloca
 
41
# elif defined _MSC_VER
 
42
#  include <malloc.h>
 
43
#  define alloca _alloca
 
44
# else
 
45
#  include <stddef.h>
 
46
#  ifdef  __cplusplus
45
47
extern "C"
46
 
# endif
 
48
#  endif
47
49
void *alloca (size_t);
 
50
# endif
48
51
#endif
49
52
 
50
53
#include <stdio.h>