Skip to content

Commit 667185a

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: fix C++ compat
2 parents af7bfc7 + c71b773 commit 667185a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend_modules.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,13 @@ struct _zend_module_dep {
122122
unsigned char type; /* dependency type */
123123
};
124124

125+
BEGIN_EXTERN_C()
125126
extern ZEND_API HashTable module_registry;
126127

127128
void module_destructor(zend_module_entry *module);
128129
int module_registry_request_startup(zend_module_entry *module);
129130
int module_registry_unload_temp(const zend_module_entry *module);
131+
END_EXTERN_C()
130132

131133
#endif
132134

0 commit comments

Comments
 (0)