]> granicus.if.org Git - php/commitdiff
- Fix compile problem on FreeBSD.
authorAndi Gutmans <andi@php.net>
Sat, 18 Mar 2000 16:16:15 +0000 (16:16 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 18 Mar 2000 16:16:15 +0000 (16:16 +0000)
ext/standard/dl.c

index 651b84e665de71cc82d2d912cdac96b4f3be718d..4a2357f9671dff0f7b8adf9083a6c19c7d53992c 100644 (file)
 #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