]> granicus.if.org Git - php/commitdiff
reinstate this ifdef for people without .Net SDK
authorWez Furlong <wez@php.net>
Tue, 13 Jan 2004 16:05:38 +0000 (16:05 +0000)
committerWez Furlong <wez@php.net>
Tue, 13 Jan 2004 16:05:38 +0000 (16:05 +0000)
ext/com_dotnet/com_handlers.c

index d4211b4dc182d7e861a63b699cda7206e56dc2b9..321f4789031e1356e2a5d42ade4553089a747df4 100644 (file)
@@ -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);