diff options
| author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-16 19:40:59 +0000 |
|---|---|---|
| committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-16 19:40:59 +0000 |
| commit | d65101443756a528beab24dafd71366c1d36da4b (patch) | |
| tree | cec30bb364dd288b66b07f729a45bed56a5a56f3 /devel/styx/files/patch-libbase::sysbase1.c | |
| parent | Upgrade to 1.11. (diff) | |
add styx
A scanner/parser generator
Diffstat (limited to 'devel/styx/files/patch-libbase::sysbase1.c')
| -rw-r--r-- | devel/styx/files/patch-libbase::sysbase1.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/styx/files/patch-libbase::sysbase1.c b/devel/styx/files/patch-libbase::sysbase1.c new file mode 100644 index 000000000000..0de3821dfb13 --- /dev/null +++ b/devel/styx/files/patch-libbase::sysbase1.c @@ -0,0 +1,20 @@ +--- libbase/sysbase1.c.orig Sun Feb 25 22:36:20 2001 ++++ libbase/sysbase1.c Tue Apr 17 01:25:49 2001 +@@ -526,7 +526,7 @@ + #define DL_LOAD_LAZY 0 + + /*DOC_INTERFACE*/ +-#if !defined(STYX_CONFIG_OSMS) && (!defined(HAVE_CONFIG_H) || (defined(HAVE_LIBDL) && defined(HAVE_DLFCN_H))) ++#if defined(__FreeBSD__) || (!defined(STYX_CONFIG_OSMS) && (!defined(HAVE_CONFIG_H) || (defined(HAVE_LIBDL) && defined(HAVE_DLFCN_H)))) + #define DL_LAZY RTLD_LAZY + #define DL_NOW RTLD_NOW + #define DL_BINDING_MASK RTLD_BINDING_MASK +@@ -570,7 +570,7 @@ + } + + #else +-#if !defined(MSDOS) && ( !defined(HAVE_CONFIG_H) || ( defined(HAVE_LIBDL) && defined(HAVE_DLFCN_H) ) ) ++#if defined(__FreeBSD__) || (!defined(MSDOS) && ( !defined(HAVE_CONFIG_H) || ( defined(HAVE_LIBDL) && defined(HAVE_DLFCN_H) ) ) ) + + DL_Hdl DL_open(string dlname, int flag) + /* loads dll 'dlname' in mode 'flag' ( ERROR: NULL ) |
