|
| 1 | +/* |
| 2 | + +----------------------------------------------------------------------+ |
| 3 | + | Zend Engine | |
| 4 | + +----------------------------------------------------------------------+ |
| 5 | + | Copyright (c) 1998-2002 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 at through the world-wide-web at | |
| 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 | + |
| 21 | +#ifndef ZEND_CONFIG_NW_H |
| 22 | +#define ZEND_CONFIG_NW_H |
| 23 | + |
| 24 | + |
| 25 | +#include <string.h> |
| 26 | +#include <float.h> |
| 27 | + |
| 28 | +typedef unsigned long ulong; |
| 29 | +typedef unsigned int uint; |
| 30 | + |
| 31 | +#define HAVE_ALLOCA 1 |
| 32 | +#define HAVE_LIMITS_H 1 |
| 33 | +/* #include <malloc.h> */ |
| 34 | + |
| 35 | +#define HAVE_STRING_H 1 |
| 36 | + |
| 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 */ |
0 commit comments