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

Side by Side Diff: fusl/src/internal/libc.h

Issue 1716893002: [fusl] Remove LFS64 macro (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: apptest rebase Created 4 years, 10 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 | « fusl/src/fcntl/posix_fallocate.c ('k') | fusl/src/legacy/ftw.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 #ifndef LIBC_H 1 #ifndef LIBC_H
2 #define LIBC_H 2 #define LIBC_H
3 3
4 #include <stdlib.h> 4 #include <stdlib.h>
5 #include <stdio.h> 5 #include <stdio.h>
6 #include <limits.h> 6 #include <limits.h>
7 7
8 struct __locale_map; 8 struct __locale_map;
9 9
10 struct __locale_struct { 10 struct __locale_struct {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 void __synccall(void (*)(void*), void*); 57 void __synccall(void (*)(void*), void*);
58 int __setxid(int, int, int, int); 58 int __setxid(int, int, int, int);
59 59
60 extern char** __environ; 60 extern char** __environ;
61 61
62 #undef weak_alias 62 #undef weak_alias
63 #define weak_alias(old, new) \ 63 #define weak_alias(old, new) \
64 extern __typeof(old) new __attribute__((weak, alias(#old))) 64 extern __typeof(old) new __attribute__((weak, alias(#old)))
65 65
66 #undef LFS64_2
67 #define LFS64_2(x, y) weak_alias(x, y)
68
69 #undef LFS64
70 #define LFS64(x) LFS64_2(x, x##64)
71
72 #endif 66 #endif
OLDNEW
« no previous file with comments | « fusl/src/fcntl/posix_fallocate.c ('k') | fusl/src/legacy/ftw.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698