Does the following patch work for *NIX?

RCS file: /repository/php4/ext/mysql/php_mysql.c,v
retrieving revision 1.132
diff -u -2 -b -w -B -r1.132 php_mysql.c
--- php_mysql.c 29 Mar 2002 12:56:25 -0000      1.132
+++ php_mysql.c 18 Apr 2002 11:51:58 -0000
@@ -29,4 +29,6 @@
 #endif

+#if HAVE_MYSQL
+
 #include "php.h"
 #include "php_globals.h"
@@ -2255,4 +2257,6 @@
 }
 /* }}} */
+
+#endif

 /*

  On the Win32 platform it allows for disabling the MySQL extension,
  which is built-in by default.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to