summaryrefslogtreecommitdiff
path: root/ext/com/php_COM.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/com/php_COM.h')
-rw-r--r--ext/com/php_COM.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/com/php_COM.h b/ext/com/php_COM.h
index 8468052393..5a3d1a01bb 100644
--- a/ext/com/php_COM.h
+++ b/ext/com/php_COM.h
@@ -3,6 +3,8 @@
#if PHP_WIN32
+BEGIN_EXTERN_C()
+
#include "com.h"
extern PHP_MINIT_FUNCTION(COM);
@@ -18,6 +20,8 @@ extern int php_COM_set_property_handler(zend_property_reference *property_refere
extern char *php_COM_error_message(HRESULT hr);
extern void php_COM_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_property_reference *property_reference);
+END_EXTERN_C()
+
#define COM_module_ptr &COM_module_entry
#else