Imported Upstream version 21
[debian/pforth] / csrc / pf_unix.h
1 /*  @(#) pf_unix.h 98/01/28 1.4 */\r
2 #ifndef _pf_unix_h\r
3 #define _pf_unix_h\r
4 \r
5 /***************************************************************\r
6 ** UNIX dependant include file for PForth, a Forth based on 'C'\r
7 **\r
8 ** Author: Phil Burk\r
9 ** Copyright 1994 3DO, Phil Burk, Larry Polansky, Devid Rosenboom\r
10 **\r
11 ** The pForth software code is dedicated to the public domain,\r
12 ** and any third party may reproduce, distribute and modify\r
13 ** the pForth software code or any derivative works thereof\r
14 ** without any compensation or license.  The pForth software\r
15 ** code is provided on an "as is" basis without any warranty\r
16 ** of any kind, including, without limitation, the implied\r
17 ** warranties of merchantability and fitness for a particular\r
18 ** purpose and their equivalents under the laws of any jurisdiction.\r
19 **\r
20 ***************************************************************/\r
21 \r
22 #include <ctype.h>\r
23 \r
24 #ifndef PF_NO_CLIB\r
25         #include <string.h>    /* Needed for strlen(), memcpy(), and memset(). */\r
26         #include <stdlib.h>    /* Needed for exit(). */\r
27 #endif\r
28 \r
29 #include <stdio.h>         /* Needed for FILE and getc(). */\r
30 \r
31 #ifdef PF_SUPPORT_FP\r
32         #include <math.h>\r
33 \r
34         #ifndef PF_USER_FP\r
35                 #include "pf_float.h"\r
36         #else\r
37                 #include PF_USER_FP\r
38         #endif\r
39 #endif\r
40 \r
41 #endif /* _pf_unix_h */\r