]> granicus.if.org Git - php/commitdiff
- fixed compile problems on win32 (thanks to Gabriel Weisz <gweisz@l-speed.com>)
authorUwe Steinmann <steinm@php.net>
Thu, 6 Jul 2000 05:30:06 +0000 (05:30 +0000)
committerUwe Steinmann <steinm@php.net>
Thu, 6 Jul 2000 05:30:06 +0000 (05:30 +0000)
ext/fdf/fdf.c
ext/fdf/php_fdf.h

index 710755b3143e098a819e9f46859e51a10cbd7cce..9dc5883ccea311e9e14e8470c302dec58ae8f1a9 100644 (file)
@@ -115,6 +115,9 @@ PHP_MINIT_FUNCTION(fdf)
 {
        FDFErc err;
        FDF_GLOBAL(le_fdf) = register_list_destructors(phpi_FDFClose, NULL);
+#ifdef WIN32
+       return SUCCESS;
+#endif
        err = FDFInitialize();
        if(err == FDFErcOK)
                return SUCCESS;
@@ -133,6 +136,9 @@ PHP_MINFO_FUNCTION(fdf)
 PHP_MSHUTDOWN_FUNCTION(fdf)
 {
        FDFErc err;
+#ifdef WIN32
+       return SUCCESS;
+#endif
        err = FDFFinalize();
        if(err == FDFErcOK)
                return SUCCESS;
index c02cc4c247bf0d20e9f24d68d6b4a791c6fe91ff..6f3d5fe9b074f0f276a502b1754497caa9f17471 100644 (file)
@@ -62,4 +62,5 @@ PHP_FUNCTION(fdf_add_template);
 #else
 #define phpext_fdf_ptr NULL
 #endif
+#define phpext_fdf_ptr fdf_module_ptr
 #endif /* PHP_FDF_H */