summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.h
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-12-01 22:59:45 +0000
committerStig Bakken <ssb@php.net>1999-12-01 22:59:45 +0000
commit2467dd6d05d97805cfbe027f9be4b4cfac8d9a25 (patch)
treea128cce78f8bf36e0bfffe9871bec480c5afc157 /ext/mysql/php_mysql.h
parent93536507f686a9dfb041b4583cd37cf4c6c4c37c (diff)
downloadphp-git-2467dd6d05d97805cfbe027f9be4b4cfac8d9a25.tar.gz
@Fix some warnings when compiling in maintainer-mode (Stig)
@Made mysql and gd work as shared extensions again (Stig) - Fixed some warnings in maintainer-mode. - Made mysql and gd work as shared extensions again by defining COMPILE_DL if PIC is defined. # We need a better solution for building .so extensions than this # PIC/COMPILE_DL hack!
Diffstat (limited to 'ext/mysql/php_mysql.h')
-rw-r--r--ext/mysql/php_mysql.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/php_mysql.h b/ext/mysql/php_mysql.h
index 80bd0d6793..e998f8e56c 100644
--- a/ext/mysql/php_mysql.h
+++ b/ext/mysql/php_mysql.h
@@ -22,9 +22,9 @@
#ifndef _PHP_MYSQL_H
#define _PHP_MYSQL_H
-#if COMPILE_DL
-#undef HAVE_MYSQL
-#define HAVE_MYSQL 1
+#ifdef COMPILE_DL
+# undef HAVE_MYSQL
+# define HAVE_MYSQL 1
#endif
#if WIN32||WINNT