zend_build.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Zend Engine |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 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: Stanislav Malyshev <stas@zend.com> |
  16. +----------------------------------------------------------------------+
  17. */
  18. #ifndef ZEND_BUILD_H
  19. #define ZEND_BUILD_H
  20. #define ZEND_TOSTR_(x) #x
  21. #define ZEND_TOSTR(x) ZEND_TOSTR_(x)
  22. #ifdef ZTS
  23. #define ZEND_BUILD_TS ",TS"
  24. #else
  25. #define ZEND_BUILD_TS ",NTS"
  26. #endif
  27. #if ZEND_DEBUG
  28. #define ZEND_BUILD_DEBUG ",debug"
  29. #else
  30. #define ZEND_BUILD_DEBUG
  31. #endif
  32. #if defined(ZEND_WIN32) && defined(PHP_COMPILER_ID)
  33. #define ZEND_BUILD_SYSTEM "," PHP_COMPILER_ID
  34. #else
  35. #define ZEND_BUILD_SYSTEM
  36. #endif
  37. /* for private applications */
  38. #define ZEND_BUILD_EXTRA
  39. #endif