source: rtems/testsuites/libtests/math/domath.c @ 6a5bd1c

4.115
Last change on this file since 6a5bd1c was 6a5bd1c, checked in by Sebastian Huber <sebastian.huber@…>, on 05/22/12 at 08:49:21

libtests/math*: Avoid generated files

Use C pre-processor instead of shell commands.

  • Property mode set to 100644
File size: 450 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.