summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-01-13 16:05:38 +0000
committerWez Furlong <wez@php.net>2004-01-13 16:05:38 +0000
commitc205153a0a91a6280eeba121fc33f794d37f98a6 (patch)
tree031dee429e12ed279bb9115f6cc84e1534937717
parentbba1ded0b2aeb12fb93c327c44a4694ae4538461 (diff)
downloadphp-git-c205153a0a91a6280eeba121fc33f794d37f98a6.tar.gz
reinstate this ifdef for people without .Net SDK
-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);