xref: /PHP-5.5/Zend/zend_config.nw.h (revision 73c1be26)
1 /*
2    +----------------------------------------------------------------------+
3    | Zend Engine                                                          |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1998-2015 Zend Technologies Ltd. (http://www.zend.com) |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 2.00 of the Zend license,     |
8    | that is bundled with this package in the file LICENSE, and is        |
9    | available through the world-wide-web at the following url:           |
10    | http://www.zend.com/license/2_00.txt.                                |
11    | If you did not receive a copy of the Zend license and are unable to  |
12    | obtain it through the world-wide-web, please send a note to          |
13    | license@zend.com so we can mail you a copy immediately.              |
14    +----------------------------------------------------------------------+
15    | Authors: Andi Gutmans <andi@zend.com>                                |
16    |          Zeev Suraski <zeev@zend.com>                                |
17    +----------------------------------------------------------------------+
18 */
19 
20 /* $Id$ */
21 
22 #ifndef ZEND_CONFIG_NW_H
23 #define ZEND_CONFIG_NW_H
24 
25 
26 #include <string.h>
27 #include <float.h>
28 
29 typedef unsigned long ulong;
30 typedef unsigned int uint;
31 
32 #define HAVE_ALLOCA 1
33 #define HAVE_LIMITS_H 1
34 /* #include <malloc.h> */
35 
36 #define HAVE_STRING_H 1
37 #define HAVE_SYS_SELECT_H 1
38 #define HAVE_STDLIB_H 1
39 #undef HAVE_KILL
40 #define HAVE_GETPID 1
41 /* #define HAVE_ALLOCA_H 1 */
42 #define HAVE_MEMCPY 1
43 #define HAVE_STRDUP 1
44 #define HAVE_SYS_TYPES_H 1
45 /* #define HAVE_STDIOSTR_H 1 */
46 #define HAVE_CLASS_ISTDIOSTREAM
47 #define istdiostream stdiostream
48 #define HAVE_STDARG_H	1
49 #define HAVE_DLFCN_H	1
50 /* #define HAVE_LIBDL 1 */
51 #define HAVE_SNPRINTF	1
52 #define HAVE_VSNPRINTF	1
53 
54 /*
55 #define snprintf _snprintf
56 #define vsnprintf _vsnprintf
57 #define zend_isinf(a)	0
58 #define zend_finite(x)	_finite(x)
59 #define zend_isnan(x)	_isnan(x)
60 */
61 
62 #define zend_sprintf sprintf
63 
64 /* This will cause the compilation process to be MUCH longer, but will generate
65  * a much quicker PHP binary
66  */
67 /*
68 #undef inline
69 #ifdef ZEND_WIN32_FORCE_INLINE
70 # define inline __forceinline
71 #else
72 # define inline
73 #endif
74 */
75 
76 /*
77 #define zend_finite(A) _finite(A)
78 #define zend_isnan(A) _isnan(A)
79 */
80 
81 #endif /* ZEND_CONFIG_NW_H */
82 
83 /*
84  * Local variables:
85  * tab-width: 4
86  * c-basic-offset: 4
87  * indent-tabs-mode: t
88  * End:
89  */
90