zend_config.nw.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Zend Engine |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1998-2016 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. /* $Id$ */
  20. #ifndef ZEND_CONFIG_NW_H
  21. #define ZEND_CONFIG_NW_H
  22. #include <string.h>
  23. #include <float.h>
  24. typedef unsigned long ulong;
  25. typedef unsigned int uint;
  26. #define HAVE_ALLOCA 1
  27. #define HAVE_LIMITS_H 1
  28. /* #include <malloc.h> */
  29. #define HAVE_STRING_H 1
  30. #define HAVE_SYS_SELECT_H 1
  31. #define HAVE_STDLIB_H 1
  32. #undef HAVE_KILL
  33. #define HAVE_GETPID 1
  34. /* #define HAVE_ALLOCA_H 1 */
  35. #define HAVE_MEMCPY 1
  36. #define HAVE_STRDUP 1
  37. #define HAVE_SYS_TYPES_H 1
  38. /* #define HAVE_STDIOSTR_H 1 */
  39. #define HAVE_CLASS_ISTDIOSTREAM
  40. #define istdiostream stdiostream
  41. #define HAVE_STDARG_H 1
  42. #define HAVE_DLFCN_H 1
  43. /* #define HAVE_LIBDL 1 */
  44. #define HAVE_SNPRINTF 1
  45. #define HAVE_VSNPRINTF 1
  46. /*
  47. #define snprintf _snprintf
  48. #define vsnprintf _vsnprintf
  49. #define zend_isinf(a) 0
  50. #define zend_finite(x) _finite(x)
  51. #define zend_isnan(x) _isnan(x)
  52. */
  53. #define zend_sprintf sprintf
  54. /* This will cause the compilation process to be MUCH longer, but will generate
  55. * a much quicker PHP binary
  56. */
  57. /*
  58. #undef inline
  59. #ifdef ZEND_WIN32_FORCE_INLINE
  60. # define inline __forceinline
  61. #else
  62. # define inline
  63. #endif
  64. */
  65. /*
  66. #define zend_finite(A) _finite(A)
  67. #define zend_isnan(A) _isnan(A)
  68. */
  69. #endif /* ZEND_CONFIG_NW_H */
  70. /*
  71. * Local variables:
  72. * tab-width: 4
  73. * c-basic-offset: 4
  74. * indent-tabs-mode: t
  75. * End:
  76. */