xref: /PHP-7.4/Zend/zend_build.h (revision 92ac598a)
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 
19 #ifndef ZEND_BUILD_H
20 #define ZEND_BUILD_H
21 
22 #define ZEND_TOSTR_(x) #x
23 #define ZEND_TOSTR(x) ZEND_TOSTR_(x)
24 
25 #ifdef ZTS
26 #define ZEND_BUILD_TS ",TS"
27 #else
28 #define ZEND_BUILD_TS ",NTS"
29 #endif
30 
31 #if ZEND_DEBUG
32 #define ZEND_BUILD_DEBUG ",debug"
33 #else
34 #define ZEND_BUILD_DEBUG
35 #endif
36 
37 #if defined(ZEND_WIN32) && defined(PHP_COMPILER_ID)
38 #define ZEND_BUILD_SYSTEM "," PHP_COMPILER_ID
39 #else
40 #define ZEND_BUILD_SYSTEM
41 #endif
42 
43 /* for private applications */
44 #define ZEND_BUILD_EXTRA
45 
46 #endif
47