summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/com_dotnet/com_handlers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index d4211b4dc1..321f478903 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -386,8 +386,10 @@ static union _zend_function *com_constructor_get(zval *object TSRMLS_DC)
return (union _zend_function*)&f;
switch (obj->ce->name[0]) {
+#if HAVE_MSCOREE_H
case 'd':
POPULATE_CTOR(d, com_dotnet_create_instance);
+#endif
case 'c':
POPULATE_CTOR(d, com_create_instance);