diff options
Diffstat (limited to 'ext/com/php_COM.h')
-rw-r--r-- | ext/com/php_COM.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/com/php_COM.h b/ext/com/php_COM.h index addb22e7a3..c2d871fac6 100644 --- a/ext/com/php_COM.h +++ b/ext/com/php_COM.h @@ -3,6 +3,10 @@ #if WIN32|WINNT +#ifdef __cplusplus +extern "C" { +#endif + extern PHP_MINIT_FUNCTION(COM); extern PHP_MSHUTDOWN_FUNCTION(COM); PHP_FUNCTION(COM_load); @@ -11,6 +15,11 @@ PHP_FUNCTION(COM_invoke); PHP_FUNCTION(com_propget); PHP_FUNCTION(com_propput); extern zend_module_entry COM_module_entry; + +#ifdef __cplusplus +} +#endif + #define COM_module_ptr &COM_module_entry #else |