From c205153a0a91a6280eeba121fc33f794d37f98a6 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 13 Jan 2004 16:05:38 +0000 Subject: [PATCH] reinstate this ifdef for people without .Net SDK --- ext/com_dotnet/com_handlers.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.40.0