Updated README with better build info
[debian/pforth] / csrc / pf_inc1.h
1 /*  @(#) pf_unix.h 98/01/28 1.4 */
2 #ifndef _pf_embedded_h
3 #define _pf_embedded_h
4
5 /***************************************************************
6 ** Embedded System include file for PForth, a Forth based on 'C'
7 **
8 ** Author: Phil Burk
9 ** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom
10 **
11 ** Permission to use, copy, modify, and/or distribute this
12 ** software for any purpose with or without fee is hereby granted.
13 **
14 ** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
15 ** WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
16 ** WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
17 ** THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
18 ** CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
19 ** FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
20 ** CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
21 ** OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 **
23 ***************************************************************/
24
25 #ifndef PF_NO_CLIB
26     #include <string.h>    /* Needed for strlen(), memcpy(), and memset(). */
27     #include <stdlib.h>    /* Needed for exit(). */
28 #endif
29
30 #ifdef PF_NO_STDIO
31     #define NULL  ((void *) 0)
32     #define EOF   (-1)
33 #else
34     #include <stdio.h>
35 #endif
36
37 #ifdef PF_SUPPORT_FP
38     #include <math.h>
39
40     #ifndef PF_USER_FP
41         #include "pf_float.h"
42     #else
43         #include PF_USER_FP
44     #endif
45 #endif
46
47 #endif /* _pf_embedded_h */