cvs: pecl /printer php_printer.h
| From: | Frank M. Kromann | Date: | Thu, 04 Dec 2003 05:17:09 +0000 |
| Subject: | cvs: pecl /printer php_printer.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-550@lists.php.net to get a copy of this message | ||
fmk Thu Dec 4 00:17:09 2003 EDT
Modified files:
/pecl/printer php_printer.h
Log:
Allow static build of the printer extension
Index: pecl/printer/php_printer.h
diff -u pecl/printer/php_printer.h:1.12 pecl/printer/php_printer.h:1.13
--- pecl/printer/php_printer.h:1.12 Sat Jan 4 06:56:01 2003
+++ pecl/printer/php_printer.h Thu Dec 4 00:17:09 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_printer.h,v 1.12 2003/01/04 11:56:01 mj Exp $ */
+/* $Id: php_printer.h,v 1.13 2003/12/04 05:17:09 fmk Exp $ */
#ifndef PHP_PRINTER_H
#define PHP_PRINTER_H
@@ -25,7 +25,7 @@
#if HAVE_PRINTER
extern zend_module_entry printer_module_entry;
-#define php_printer_ptr &printer_module_entry
+#define printer_module_ptr &printer_module_entry
PHP_MINIT_FUNCTION(printer);
PHP_MINFO_FUNCTION(printer);
@@ -83,10 +83,12 @@
#else
-#define php_printer_ptr NULL
+#define printer_module_ptr NULL
#endif
+#define phpext_printer_ptr printer_module_ptr
+
#endif
/*