Re: cvs: php4 /ext/fdf fdf.c php_fdf.h
| From: | Andi Gutmans | Date: | Thu, 06 Jul 2000 14:47:40 +0000 |
| Subject: | Re: cvs: php4 /ext/fdf fdf.c php_fdf.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-647@lists.php.net to get a copy of this message | ||
Please use PHP_WIN32 instead of WIN32.
It is defined in php.h
Anyway I changed it and commited.
Thanks,
Andi
At 05:30 06/07/00 +0000, Uwe Steinmann wrote:
--- Andi Gutmans <andi@zend.com> http://www.zend.com/steinm Wed Jul 5 22:30:06 2000 EDTModified files:/php4/ext/fdf fdf.c php_fdf.hLog: - fixed compile problems on win32 (thanks to Gabriel Weisz <gweisz@l-speed.com>) Index: php4/ext/fdf/fdf.c diff -u php4/ext/fdf/fdf.c:1.26 php4/ext/fdf/fdf.c:1.27--- php4/ext/fdf/fdf.c:1.26 Sat Jun 24 08:31:07 2000+++ php4/ext/fdf/fdf.c Wed Jul 5 22:30:05 2000 @@ -16,7 +16,7 @@+----------------------------------------------------------------------+*/ -/* $Id: fdf.c,v 1.26 2000/06/24 15:31:07 sas Exp $ */ +/* $Id: fdf.c,v 1.27 2000/07/06 05:30:05 steinm Exp $ */ /* FdfTk lib 2.0 is a Complete C/C++ FDF Toolkit available fromhttp://beta1.adobe.com/ada/acrosdk/forms.html. */@@ -115,6 +115,9 @@ {FDFErc err; FDF_GLOBAL(le_fdf) = register_list_destructors(phpi_FDFClose, NULL);+#ifdef WIN32+ return SUCCESS;+#endiferr = FDFInitialize(); if(err == FDFErcOK) return SUCCESS;@@ -133,6 +136,9 @@ PHP_MSHUTDOWN_FUNCTION(fdf) {FDFErc err;+#ifdef WIN32+ return SUCCESS;+#endiferr = FDFFinalize(); if(err == FDFErcOK) return SUCCESS;Index: php4/ext/fdf/php_fdf.h diff -u php4/ext/fdf/php_fdf.h:1.3 php4/ext/fdf/php_fdf.h:1.4 --- php4/ext/fdf/php_fdf.h:1.3 Sun Jul 2 16:46:40 2000+++ php4/ext/fdf/php_fdf.h Wed Jul 5 22:30:06 2000@@ -26,7 +26,7 @@| Authors: Uwe Steinmann | +----------------------------------------------------------------------+*/ -/* $Id: php_fdf.h,v 1.3 2000/07/02 23:46:40 sas Exp $ */ +/* $Id: php_fdf.h,v 1.4 2000/07/06 05:30:06 steinm Exp $ */ #ifndef PHP_FDF_H #define PHP_FDF_H @@ -62,4 +62,5 @@ #else #define phpext_fdf_ptr NULL #endif +#define phpext_fdf_ptr fdf_module_ptr #endif /* PHP_FDF_H */ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net