From c57ab20ac8575fc037480118e56555f9e626b467 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 18 Apr 2002 16:48:03 +0000 Subject: [PATCH] Make use of HAVE_MYSQL. Reviewed by: Sterling. --- ext/mysql/php_mysql.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.40.0