Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: third_party/dlfcn-win32/dlfcn.h

Issue 137143003: Add dlfcn-win32 to third_party (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/deps/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/dlfcn-win32/configure ('k') | third_party/dlfcn-win32/dlfcn.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * dlfcn-win32
3 * Copyright (c) 2007 Ramiro Polla
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 US A
18 */
19
20 #ifndef DLFCN_H
21 #define DLFCN_H
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 /* POSIX says these are implementation-defined.
28 * To simplify use with Windows API, we treat them the same way.
29 */
30
31 #define RTLD_LAZY 0
32 #define RTLD_NOW 0
33
34 #define RTLD_GLOBAL (1 << 1)
35 #define RTLD_LOCAL (1 << 2)
36
37 /* These two were added in The Open Group Base Specifications Issue 6.
38 * Note: All other RTLD_* flags in any dlfcn.h are not standard compliant.
39 */
40
41 #define RTLD_DEFAULT 0
42 #define RTLD_NEXT 0
43
44 void *dlopen ( const char *file, int mode );
45 int dlclose( void *handle );
46 void *dlsym ( void *handle, const char *name );
47 char *dlerror( void );
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif /* DLFCN_H */
OLDNEW
« no previous file with comments | « third_party/dlfcn-win32/configure ('k') | third_party/dlfcn-win32/dlfcn.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698