Mercurial > hg > octave-lojdl > gnulib-hg
comparison lib/printf-frexp.c @ 15933:6860d9f2e394
printf-frexpl: Simplify for platforms where 'long double' == 'double'.
* lib/printf-frexpl.c: Include <config.h>.
(printf_frexpl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New function.
* lib/printf-frexp.c [!USE_LONG_DOUBLE]: Don't include <config.h> a
second time.
* m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Require
gl_LONG_DOUBLE_VS_DOUBLE.
* modules/printf-frexpl (Depends-on): Add printf-frexp. Update
conditions.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 10 Oct 2011 17:17:26 +0200 |
parents | 97fc9a21a8fb |
children | 8250f2777afc |
comparison
equal
deleted
inserted
replaced
15932:0057ae480fc5 | 15933:6860d9f2e394 |
---|---|
12 GNU General Public License for more details. | 12 GNU General Public License for more details. |
13 | 13 |
14 You should have received a copy of the GNU General Public License | 14 You should have received a copy of the GNU General Public License |
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 15 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
16 | 16 |
17 #include <config.h> | 17 #if ! defined USE_LONG_DOUBLE |
18 # include <config.h> | |
19 #endif | |
18 | 20 |
19 /* Specification. */ | 21 /* Specification. */ |
20 #ifdef USE_LONG_DOUBLE | 22 #ifdef USE_LONG_DOUBLE |
21 # include "printf-frexpl.h" | 23 # include "printf-frexpl.h" |
22 #else | 24 #else |