Imported Upstream version 4.0
[platform/upstream/make.git] / w32 / include / dlfcn.h
1 /* dlfcn.h replacement for MS-Windows build.
2 Copyright (C) 2013 Free Software Foundation, Inc.
3 This file is part of GNU Make.
4
5 GNU Make is free software; you can redistribute it and/or modify it under the
6 terms of the GNU General Public License as published by the Free Software
7 Foundation; either version 3 of the License, or (at your option) any later
8 version.
9
10 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License along with
15 this program.  If not, see <http://www.gnu.org/licenses/>.  */
16
17 #ifndef DLFCN_H
18 #define DLFCN_H
19
20 #define RTLD_LAZY   1
21 #define RTLD_NOW    2
22 #define RTLD_GLOBAL 4
23
24 extern void *dlopen (const char *, int);
25 extern void *dlsym (void *, const char *);
26 extern char *dlerror (void);
27 extern int   dlclose (void *);
28
29 #endif  /* DLFCN_H */