* added python-wheel (0.42.0) - The official binary distribution format for Python
[t2sde.git] / package / base / musl / hotfix-linux-inline.patch
blob94d6af2eb12cb0bc1c231f80d138cb0423844021
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/musl/hotfix-linux-inline.patch
3 # Copyright (C) 2021 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- musl-1.2.2/include/features.h.vanilla 2021-10-21 17:39:26.634632506 +0200
15 +++ musl-1.2.2/include/features.h 2021-10-21 17:41:59.760626400 +0200
16 @@ -37,4 +37,11 @@
18 #define __REDIR(x,y) __typeof__(x) x __asm__(#y)
20 +/* Forces a function to be always inlined. */
21 +/* The Linux kernel defines __always_inline in stddef.h (283d7573), and
22 + it conflicts with this definition. Therefore undefine it first to
23 + allow either header to be included first. */
24 +#undef __always_inline
25 +#define __always_inline __inline __attribute__ ((__always_inline__))
27 #endif