mailing list of musl libc
 help / color / mirror / code / Atom feed
3f004660a3d185aa31ad81abbb1773ea37804df1 blob 424 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#ifndef _STDALIGN_H
#define _STDALIGN_H

/* this whole header only works in C11 or with compiler extensions */
#if __STDC_VERSION__ < 201112L && defined( __GNUC__)
#define _Alignas(t) __attribute__((__aligned__(t)))
#define _Alignof(t) (sizeof(struct {char __x; __typeof__(t) __y;}) - sizeof(t))
#endif

#define alignas _Alignas
#define alignof _Alignof
#define __alignas_is_defined 1
#define __alignof_is_defined 1

#endif
debug log:

solving 3f00466 ...
found 3f00466 in https://inbox.vuxu.org/musl/20140608145924.GA19121@brightrain.aerifal.cx/
found b6e50ae in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 b6e50aebdbfd65c8f142c26174710fb22e02b4e3	include/stdalign.h

applying [1/1] https://inbox.vuxu.org/musl/20140608145924.GA19121@brightrain.aerifal.cx/
diff --git a/include/stdalign.h b/include/stdalign.h
index b6e50ae..3f00466 100644

Checking patch include/stdalign.h...
Applied patch include/stdalign.h cleanly.

index at:
100644 3f004660a3d185aa31ad81abbb1773ea37804df1	include/stdalign.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).