aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stdalign.h4
-rw-r--r--include/stdnoreturn.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/stdalign.h b/include/stdalign.h
index 905b963..89aca73 100644
--- a/include/stdalign.h
+++ b/include/stdalign.h
@@ -20,6 +20,10 @@
#include <slibc/version.h>
#include <slibc/features.h>
+#if !defined(_SLIBC_SUPPRESS_WARNINGS) && !defined(__C11__)
+# warning "<stdalign.h> requires that C11 or newer revision is used."
+#endif
+
/**
diff --git a/include/stdnoreturn.h b/include/stdnoreturn.h
index 3260cf2..59e2ceb 100644
--- a/include/stdnoreturn.h
+++ b/include/stdnoreturn.h
@@ -20,6 +20,10 @@
#include <slibc/version.h>
#include <slibc/features.h>
+#if !defined(_SLIBC_SUPPRESS_WARNINGS) && !defined(__C99__)
+# warning "<stdnoreturn.h> requires that C11 or newer revision is used."
+#endif
+
/**