Tizen 2.1 base
[external/mawk.git] / v7 / config.h
1
2 /* This has never been tested.  A first pass for mawk1.2
3    based on V7.h that worked on mawk1.1
4 */
5
6 #ifndef   CONFIG_H
7 #define   CONFIG_H              1
8
9 #define                         V7
10
11
12 #define   NO_VOID_PTR           1
13 #define   NO_STRTOD             1
14 #define   NO_FMOD               1
15 #define   NO_MATHERR            1
16 #define   NO_FCNTL_H            1
17 #define   NO_VFPRINTF           1
18 #define   NO_STRCHR             1
19
20
21 #define   O_RDONLY              0
22 #define   O_WRONLY              1
23 #define   O_RDWR                2
24
25
26 #ifdef XNX23A
27 /* convert double to Boolean.  This is a bug work-around for
28    XENIX-68K 2.3A, where logical test of double doesn't work.  This
29    macro NG for register double. */
30 #define   D2BOOL(x)     (*((long *) &(x)))
31 #define   SW_FP_CHECK   1
32 #define   STDC_MATHERR  1
33 #endif
34
35 #define HAVE_REAL_PIPES 1
36 #endif  /* CONFIG_H */