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

Side by Side Diff: fusl/include/stdalign.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
« no previous file with comments | « fusl/include/spawn.h ('k') | fusl/include/stdarg.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _STDALIGN_H
2 #define _STDALIGN_H
3
4 #ifndef __cplusplus
5
6 /* this whole header only works in C11 or with compiler extensions */
7 #if __STDC_VERSION__ < 201112L && defined( __GNUC__)
8 #define _Alignas(t) __attribute__((__aligned__(t)))
9 #define _Alignof(t) __alignof__(t)
10 #endif
11
12 #define alignas _Alignas
13 #define alignof _Alignof
14
15 #endif
16
17 #define __alignas_is_defined 1
18 #define __alignof_is_defined 1
19
20 #endif
OLDNEW
« no previous file with comments | « fusl/include/spawn.h ('k') | fusl/include/stdarg.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698