From 00bcd72637cc8e41ee594ba1c13a9a436e7d3cd9 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 10 Oct 1999 12:41:56 +0000 Subject: [PATCH] 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. --- ext/gd/gd.c | 4 ---- ext/pgsql/pgsql.c | 4 ---- ext/snmp/snmp.c | 4 ---- 3 files changed, 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 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 -#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" -- 2.40.0