From c57ab20ac8575fc037480118e56555f9e626b467 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 18 Apr 2002 16:48:03 +0000 Subject: Make use of HAVE_MYSQL. Reviewed by: Sterling. --- ext/mysql/php_mysql.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/mysql/php_mysql.c') diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 09107790f1..a0b5e1ac9a 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -34,6 +34,8 @@ #include "ext/standard/info.h" #include "ext/standard/php_string.h" +#if HAVE_MYSQL + #ifdef PHP_WIN32 #include #define signal(a, b) NULL @@ -2255,6 +2257,8 @@ PHP_FUNCTION(mysql_ping) } /* }}} */ +#endif + /* * Local variables: * tab-width: 4 -- cgit v1.2.1