zend_config.nw.h 2.5 KB

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