xref: /PHP-7.3/Zend/zend_config.nw.h (revision 9afce019)
1 /*
2    +----------------------------------------------------------------------+
3    | Zend Engine                                                          |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1998-2018 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@php.net>                                 |
16    |          Zeev Suraski <zeev@php.net>                                 |
17    +----------------------------------------------------------------------+
18 */
19 
20 #ifndef ZEND_CONFIG_NW_H
21 #define ZEND_CONFIG_NW_H
22 
23 
24 #include <string.h>
25 #include <float.h>
26 
27 typedef unsigned long ulong;
28 typedef unsigned int uint;
29 
30 #define HAVE_ALLOCA 1
31 #define HAVE_LIMITS_H 1
32 /* #include <malloc.h> */
33 
34 #define HAVE_STRING_H 1
35 #define HAVE_SYS_SELECT_H 1
36 #define HAVE_STDLIB_H 1
37 #undef HAVE_KILL
38 #define HAVE_GETPID 1
39 /* #define HAVE_ALLOCA_H 1 */
40 #define HAVE_MEMCPY 1
41 #define HAVE_STRDUP 1
42 #define HAVE_SYS_TYPES_H 1
43 /* #define HAVE_STDIOSTR_H 1 */
44 #define HAVE_CLASS_ISTDIOSTREAM
45 #define istdiostream stdiostream
46 #define HAVE_STDARG_H	1
47 #define HAVE_DLFCN_H	1
48 /* #define HAVE_LIBDL 1 */
49 #define HAVE_SNPRINTF	1
50 #define HAVE_VSNPRINTF	1
51 
52 /*
53 #define snprintf _snprintf
54 #define vsnprintf _vsnprintf
55 #define zend_isinf(a)	0
56 #define zend_finite(x)	_finite(x)
57 #define zend_isnan(x)	_isnan(x)
58 */
59 
60 #define zend_sprintf sprintf
61 
62 /* This will cause the compilation process to be MUCH longer, but will generate
63  * a much quicker PHP binary
64  */
65 /*
66 #undef inline
67 #ifdef ZEND_WIN32_FORCE_INLINE
68 # define inline __forceinline
69 #else
70 # define inline
71 #endif
72 */
73 
74 /*
75 #define zend_finite(A) _finite(A)
76 #define zend_isnan(A) _isnan(A)
77 */
78 
79 #endif /* ZEND_CONFIG_NW_H */
80 
81 /*
82  * Local variables:
83  * tab-width: 4
84  * c-basic-offset: 4
85  * indent-tabs-mode: t
86  * End:
87  * vim600: sw=4 ts=4 fdm=marker
88  * vim<600: sw=4 ts=4
89  */
90