diff options
author | Sascha Schumann <sas@php.net> | 1999-10-10 12:41:56 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-10-10 12:41:56 +0000 |
commit | 00bcd72637cc8e41ee594ba1c13a9a436e7d3cd9 (patch) | |
tree | 100bbfa194d819b3912c2519caae832e3009091f | |
parent | 594f61521b53ecede291ead04bd8cca9ebf99165 (diff) | |
download | php-git-00bcd72637cc8e41ee594ba1c13a9a436e7d3cd9.tar.gz |
Remove -DPIC preprocessor macros. This is defined by libtool
automatically, if a shared library is built. This would lead
to multiple definitions of get_module(). If you want to build
modules, add -DCOMPILE_DL to your CFLAGS.
-rw-r--r-- | ext/gd/gd.c | 4 | ||||
-rw-r--r-- | ext/pgsql/pgsql.c | 4 | ||||
-rw-r--r-- | ext/snmp/snmp.c | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index a0a7eb9fe9..f3d3eae22e 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -25,10 +25,6 @@ /* Note that there is no code from the gd package in this file */ -#ifdef PIC -# define COMPILE_DL 1 -#endif - #include "php.h" #include "ext/standard/head.h" #include <math.h> diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index b0705a8475..d09d474940 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -21,10 +21,6 @@ #include <stdlib.h> -#ifdef PIC -# define COMPILE_DL 1 -#endif - #include "php.h" #include "php3_pgsql.h" #include "ext/standard/php3_standard.h" diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 8127468071..d0d22a6b65 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -19,10 +19,6 @@ */ /* $Id$ */ -#ifdef PIC -# define COMPILE_DL 1 -#endif - #include "php.h" #if defined(COMPILE_DL) #include "dl/phpdl.h" |