Browse Source

Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,

values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.
OPENBSD_3_4
drahn 21 years ago
parent
commit
7f27882690
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      src/include/dlfcn.h

+ 6
- 3
src/include/dlfcn.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: dlfcn.h,v 1.7 2003/04/25 19:16:12 marc Exp $ */
/* $OpenBSD: dlfcn.h,v 1.8 2003/09/02 15:14:54 drahn Exp $ */
/* $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */
/*
@ -48,8 +48,11 @@ extern const char *dlerror(void);
__END_DECLS
/* Values for dlopen `mode'. */
#define DL_LAZY 1
#define RTLD_LAZY DL_LAZY /* SunOS Compat */
#define RTLD_LAZY 1
#define RTLD_NOW 2
#define RTLD_GLOBAL 0x100
#define RTLD_LOCAL 0x000
#define DL_LAZY RTLD_LAZY /* Compat */
/*
* dlctl() commands


Loading…
Cancel
Save