Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/system/lib/llvm-libc/include/llvm-libc-macros/dlfcn-macros.h
6182 views
1
//===-- Definition of macros from dlfcn.h ---------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLVM_LIBC_MACROS_DLFCN_MACROS_H
10
#define LLVM_LIBC_MACROS_DLFCN_MACROS_H
11
12
#define RTLD_LAZY 0x00001
13
#define RTLD_NOW 0x00002
14
#define RTLD_GLOBAL 0x00100
15
#define RTLD_LOCAL 0
16
17
// Non-standard stuff here
18
#define RTLD_BINDING_MASK 0x3
19
#define RTLD_NOLOAD 0x00004
20
#define RTLD_DEEPBIND 0x00008
21
#define RTLD_NODELETE 0x01000
22
23
#endif // LLVM_LIBC_MACROS_DLFCN_MACROS_H
24
25