diff options
author | Stig Bakken <ssb@php.net> | 1999-12-01 22:59:45 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 1999-12-01 22:59:45 +0000 |
commit | 2467dd6d05d97805cfbe027f9be4b4cfac8d9a25 (patch) | |
tree | a128cce78f8bf36e0bfffe9871bec480c5afc157 /ext/mysql/php_mysql.c | |
parent | 93536507f686a9dfb041b4583cd37cf4c6c4c37c (diff) | |
download | php-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.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index cb198be677..aa9bb2757b 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -24,8 +24,12 @@ * ? Safe mode implementation */ -#if COMPILE_DL -#include "dl/phpdl.h" +#ifdef PIC +# define COMPILE_DL 1 +#endif + +#ifdef COMPILE_DL +# include "dl/phpdl.h" #endif #include "php.h" |