From: Andi Gutmans Date: Sat, 18 Mar 2000 16:16:15 +0000 (+0000) Subject: - Fix compile problem on FreeBSD. X-Git-Tag: PHP-4.0-RC1~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e88bde0a737cb823026823c54f42c1817882d6ff;p=php - Fix compile problem on FreeBSD. --- diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 651b84e665..4a2357f967 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -26,8 +26,14 @@ #include #include #ifndef RTLD_LAZY -# define RTLD_LAZY 1 /* Solaris 1, FreeBSD's (2.1.7.1 and older) */ +#define RTLD_LAZY 1 /* Solaris 1, FreeBSD's (2.1.7.1 and older) */ #endif + +#ifndef RTLD_NOW /* Fixes compile problem on FreeBSD */ +#define RTLD_NOW RTLD_LAZY +#endif + + #if HAVE_STRING_H #include #else