mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Always provide declarations of long double math functions when !_LIBC
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1998, 1999, 2000, 2006 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1998, 1999, 2000, 2006, 2011 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -85,7 +85,8 @@ __BEGIN_DECLS
|
||||
/* And the long double versions. It is non-critical to define them
|
||||
here unconditionally since `long double' is required in ISO C99. */
|
||||
#if (__STDC__ - 0 || __GNUC__ - 0) \
|
||||
&& (!defined __NO_LONG_DOUBLE_MATH || defined __LDBL_COMPAT)
|
||||
&& (!(defined __NO_LONG_DOUBLE_MATH && defined _LIBC) \
|
||||
|| defined __LDBL_COMPAT)
|
||||
# ifdef __LDBL_COMPAT
|
||||
# undef __MATHDECL_1
|
||||
# define __MATHDECL_1(type, function, args) \
|
||||
|
Reference in New Issue
Block a user