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

Side by Side Diff: ports/glibc-compat/src/libc-symbols.h

Issue 1260083004: Add needed functions to glibc-compat for pkg (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: fix wrong c++ lib Created 5 years, 4 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
« no previous file with comments | « ports/glibc-compat/src/herror.c ('k') | ports/glibc-compat/src/openat.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*
2 * Copyright 2015 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
1 #ifndef _LIBC_SYMBOLS_H 6 #ifndef _LIBC_SYMBOLS_H
2 #define _LIBC_SYMBOLS_H 1 7 #define _LIBC_SYMBOLS_H 1
3 8
4 #define libc_hidden_def(x) 9 #define libc_hidden_def(x)
5 #define libc_hidden_weak(x) 10 #define libc_hidden_weak(x)
6 #define libc_hidden_proto(x) 11 #define libc_hidden_proto(x)
7 #define libc_hidden_data_def(x) 12 #define libc_hidden_data_def(x)
8 #define libresolv_hidden_def(x) 13 #define libresolv_hidden_def(x)
9 #define libresolv_hidden_weak(x) 14 #define libresolv_hidden_weak(x)
10 #define libresolv_hidden_data_def(x) 15 #define libresolv_hidden_data_def(x)
11 #define libresolv_hidden_proto(x) 16 #define libresolv_hidden_proto(x)
12 #define static_link_warning(x) 17 #define static_link_warning(x)
13 #define libc_freeres_ptr(x) x 18 #define libc_freeres_ptr(x) x
14 #define DL_CALL_FCT(x,y) x y 19 #define DL_CALL_FCT(x,y) x y
15 #define attribute_hidden 20 #define attribute_hidden
16 #define internal_function 21 #define internal_function
17
18 #define __set_errno(x) (errno = (x)) 22 #define __set_errno(x) (errno = (x))
23 #define weak_alias(name, aliasname) _weak_alias (name, aliasname)
24 #define _weak_alias(name, aliasname) \
25 extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
19 26
20 #endif 27 #endif
21
OLDNEW
« no previous file with comments | « ports/glibc-compat/src/herror.c ('k') | ports/glibc-compat/src/openat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698