cvs: /php4/ext/standard dl.c
| From: | Andi Gutmans | Date: | Sat, 18 Mar 2000 16:16:45 +0000 |
| Subject: | cvs: /php4/ext/standard dl.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12363@lists.php.net to get a copy of this message | ||
andi Sat Mar 18 08:16:45 2000 EDT
Modified files:
/php4/ext/standard dl.c
Log:
- Fix compile problem on FreeBSD.
Index: php4/ext/standard/dl.c
diff -u php4/ext/standard/dl.c:1.30 php4/ext/standard/dl.c:1.31
--- php4/ext/standard/dl.c:1.30 Sun Mar 12 22:00:36 2000
+++ php4/ext/standard/dl.c Sat Mar 18 08:16:15 2000
@@ -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