summaryrefslogtreecommitdiff
path: root/ext/rpc/com/php_variant.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rpc/com/php_variant.h')
-rw-r--r--ext/rpc/com/php_variant.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/rpc/com/php_variant.h b/ext/rpc/com/php_variant.h
new file mode 100644
index 0000000000..2bb5fc1d62
--- /dev/null
+++ b/ext/rpc/com/php_variant.h
@@ -0,0 +1,20 @@
+#ifndef PHP_TYPEDEF_VARIANT_H
+#define PHP_TYPEDEF_VARIANT_H
+
+#if WIN32|WINNT
+
+extern PHP_MINIT_FUNCTION(VARIANT);
+extern PHP_MSHUTDOWN_FUNCTION(VARIANT);
+
+extern zend_module_entry VARIANT_module_entry;
+#define VARIANT_module_ptr &VARIANT_module_entry
+
+#else
+
+#define VARIANT_module_ptr NULL
+
+#endif /* Win32|WINNT */
+
+#define phpext_VARIANT_ptr VARIANT_module_ptr
+
+#endif /* PHP_TYPEDEF_VARIANT_H */