aboutsummaryrefslogtreecommitdiffstats
path: root/include/stddef.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-18 04:28:03 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-18 04:28:03 +0200
commit8aee94558b01383867b3d9f93a19ba47e51c063d (patch)
treee7201aaaf40e2c97986d5f2eb517ea2dfe959656 /include/stddef.h
parentinfo: malloc aligns pointers (diff)
downloadslibc-8aee94558b01383867b3d9f93a19ba47e51c063d.tar.gz
slibc-8aee94558b01383867b3d9f93a19ba47e51c063d.tar.bz2
slibc-8aee94558b01383867b3d9f93a19ba47e51c063d.tar.xz
the pointer returned by malloc is aligned
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include/stddef.h')
-rw-r--r--include/stddef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stddef.h b/include/stddef.h
index e33cfed..50e9ba1 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -82,7 +82,7 @@
#define __NEED_ptrdiff_t
#define __NEED_wchar_t
#define __NEED_size_t
-#if defined(__C11__)
+#if defined(__C11__) || defined(__BUILDING_SLIBC)
# define __NEED_max_align_t
#endif