source: rtems/testsuites/libtests/mathl/domathl.c

Last change on this file was 80cf60e, checked in by Sebastian Huber <sebastian.huber@…>, on 04/15/20 at 07:48:32

Canonicalize config.h include

Use the following variant which was already used by most source files:

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

  • Property mode set to 100644
File size: 534 bytes
Line 
1/*
2 * Copyright (c) 2010, 2011 by
3 * Ralf Corsepius, Ulm/Germany. All rights reserved.
4 *
5 * Permission to use, copy, modify, and distribute this software
6 * is freely granted, provided that this notice is preserved.
7 */
8
9/*
10 * Try to compile and link against POSIX math routines.
11 */
12
13#ifdef HAVE_CONFIG_H
14#include "config.h"
15#endif
16
17/* FIXME: Why is this defined? */
18#define NO_LONG_DOUBLE
19
20#ifdef NO_LONG_DOUBLE
21  #define PROVIDE_EMPTY_FUNC
22#endif
23
24#define SUFFIX l
25#define FTYPE long double
26#define PRI "%Lf"
27
28#include <domath.h>
Note: See TracBrowser for help on using the repository browser.