mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-16 18:50:23 +02:00
Work around the lack of a vsnprintf(3) declaration on AIX 5.3.
* configure.in: Check for the vsnprintf(3) declaration. * libguile/deprecation.c [!HAVE_DECL_VSNPRINTF]: Provide vsnprintf(3) declaration. This is needed on `powerpc-ibm-aix5.3.0.0'.
This commit is contained in:
parent
7747b2d4f0
commit
de8ab91a76
2 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2001, 2006 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2001, 2006, 2009 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
|
||||
|
@ -33,7 +33,9 @@
|
|||
|
||||
/* Windows defines. */
|
||||
#ifdef __MINGW32__
|
||||
#define vsnprintf _vsnprintf
|
||||
# define vsnprintf _vsnprintf
|
||||
#elif !HAVE_DECL_VSNPRINTF
|
||||
extern int vsnprintf (char *, size_t, const char *, va_list);
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue