source: rtems/testsuites/libtests/math/domath.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: 448 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#ifdef NO_DOUBLE
18  #define PROVIDE_EMPTY_FUNC
19#endif
20
21#define FTYPE double
22#define PRI "%f"
23
24#include <domath.h>
Note: See TracBrowser for help on using the repository browser.