File tree 1 file changed +27
-27
lines changed
1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change 59
59
#endif
60
60
#include "ext/standard/reg.h"
61
61
#include "ext/pcre/php_pcre.h"
62
- #if HAVE_UODBC
62
+ #ifdef HAVE_UODBC
63
63
#include "ext/odbc/php_odbc.h"
64
64
#endif
65
- #if HAVE_PHP_SESSION
65
+ #ifdef HAVE_PHP_SESSION
66
66
#include "ext/session/php_session.h"
67
67
#endif
68
- #if HAVE_MBSTRING
68
+ #ifdef HAVE_MBSTRING
69
69
#include "ext/mbstring/mbstring.h"
70
70
#endif
71
- #if HAVE_TOKENIZER
71
+ #ifdef HAVE_TOKENIZER
72
72
#include "ext/tokenizer/php_tokenizer.h"
73
73
#endif
74
- #if HAVE_ZLIB
74
+ #ifdef HAVE_ZLIB
75
75
#include "ext/zlib/php_zlib.h"
76
76
#endif
77
- #if HAVE_LIBXML
77
+ #ifdef HAVE_LIBXML
78
78
#include "ext/libxml/php_libxml.h"
79
- #if HAVE_DOM
79
+ #ifdef HAVE_DOM
80
80
#include "ext/dom/php_dom.h"
81
81
#endif
82
- #if HAVE_SIMPLEXML
82
+ #ifdef HAVE_SIMPLEXML
83
83
#include "ext/simplexml/php_simplexml.h"
84
84
#endif
85
85
#endif
86
- #if HAVE_XML
86
+ #ifdef HAVE_XML
87
87
#include "ext/xml/php_xml.h"
88
88
#endif
89
89
#include "ext/com_dotnet/php_com_dotnet.h"
90
90
#include "ext/spl/php_spl.h"
91
- #if HAVE_XML && HAVE_XMLREADER
91
+ #if defined( HAVE_XML ) && defined( HAVE_XMLREADER )
92
92
#include "ext/xmlreader/php_xmlreader.h"
93
93
#endif
94
- #if HAVE_XML && HAVE_XMLWRITER
94
+ #if defined( HAVE_XML ) && defined( HAVE_XMLWRITER )
95
95
#include "ext/xmlwriter/php_xmlwriter.h"
96
96
#endif
97
97
/* }}} */
100
100
*/
101
101
static zend_module_entry * const php_builtin_extensions [] = {
102
102
phpext_standard_ptr
103
- #if HAVE_BCMATH
103
+ #ifdef HAVE_BCMATH
104
104
,phpext_bcmath_ptr
105
105
#endif
106
- #if HAVE_CALENDAR
106
+ #ifdef HAVE_CALENDAR
107
107
,phpext_calendar_ptr
108
108
#endif
109
109
,phpext_com_dotnet_ptr
110
- #if HAVE_CTYPE
110
+ #ifdef HAVE_CTYPE
111
111
,phpext_ctype_ptr
112
112
#endif
113
113
,phpext_date_ptr
114
- #if HAVE_FTP
114
+ #ifdef HAVE_FTP
115
115
,phpext_ftp_ptr
116
116
#endif
117
117
,phpext_hash_ptr
118
- #if HAVE_ICONV
118
+ #ifdef HAVE_ICONV
119
119
,phpext_iconv_ptr
120
120
#endif
121
- #if HAVE_MBSTRING
121
+ #ifdef HAVE_MBSTRING
122
122
,phpext_mbstring_ptr
123
123
#endif
124
- #if HAVE_UODBC
124
+ #ifdef HAVE_UODBC
125
125
,phpext_odbc_ptr
126
126
#endif
127
127
,phpext_pcre_ptr
128
128
,phpext_reflection_ptr
129
- #if HAVE_PHP_SESSION
129
+ #ifdef HAVE_PHP_SESSION
130
130
,phpext_session_ptr
131
131
#endif
132
- #if HAVE_TOKENIZER
132
+ #ifdef HAVE_TOKENIZER
133
133
,phpext_tokenizer_ptr
134
134
#endif
135
- #if HAVE_ZLIB
135
+ #ifdef HAVE_ZLIB
136
136
,phpext_zlib_ptr
137
137
#endif
138
- #if HAVE_LIBXML
138
+ #ifdef HAVE_LIBXML
139
139
,phpext_libxml_ptr
140
- #if HAVE_DOM
140
+ #ifdef HAVE_DOM
141
141
,phpext_dom_ptr
142
142
#endif
143
- #if HAVE_SIMPLEXML
143
+ #ifdef HAVE_SIMPLEXML
144
144
,phpext_simplexml_ptr
145
145
#endif
146
146
#endif
147
- #if HAVE_XML
147
+ #ifdef HAVE_XML
148
148
,phpext_xml_ptr
149
149
#endif
150
150
,phpext_spl_ptr
151
- #if HAVE_XML && HAVE_XMLREADER
151
+ #if defined( HAVE_XML ) && defined ( HAVE_XMLREADER )
152
152
,phpext_xmlreader_ptr
153
153
#endif
154
- #if HAVE_XML && HAVE_XMLWRITER
154
+ #if defined( HAVE_XML ) && defined ( HAVE_XMLWRITER )
155
155
,phpext_xmlwriter_ptr
156
156
#endif
157
157
};
You can’t perform that action at this time.
0 commit comments