diff options
| author | Andi Gutmans <andi@php.net> | 2000-03-18 16:16:15 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2000-03-18 16:16:15 +0000 |
| commit | e88bde0a737cb823026823c54f42c1817882d6ff (patch) | |
| tree | 992ea9993fa51999daaf75fb72c42c61aed74f1c /ext | |
| parent | 8b8077709efc0d569e7c876b331636ef499c5ccb (diff) | |
| download | php-git-e88bde0a737cb823026823c54f42c1817882d6ff.tar.gz | |
- Fix compile problem on FreeBSD.
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/dl.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 <stdlib.h> #include <stdio.h> #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 <string.h> #else |
