aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stddef.h2
-rw-r--r--include/stdio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/stddef.h b/include/stddef.h
index bb239f8..696af02 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -79,7 +79,7 @@
#define __NEED_ptrdiff_t
#define __NEED_wchar_t
#define __NEED_size_t
-#if __STDC_VERSION__ >= 201112L
+#if defined(__C11__)
# define __NEED_max_align_t
#endif
diff --git a/include/stdio.h b/include/stdio.h
index 11c68c8..faa6da9 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -28,7 +28,7 @@
#define __NEED_ssize_t
#define __NEED_wchar_t
#define __NEED_va_list
-#if __STDC_VERSION__ >= 201112L
+#if defined(__C11__)
# define __NEED_max_align_t
#endif
#define FILE void /* TODO temporary */