aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/slibc/features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/slibc/features.h b/include/slibc/features.h
index ef56e92..ba91975 100644
--- a/include/slibc/features.h
+++ b/include/slibc/features.h
@@ -25,7 +25,7 @@
/**
* Is C11, or newer, used?
*/
-#if __STDC_VERSION__ >= 201112L
+#if __STDC_VERSION__ >= 201112L || defined(_ISOC11_SOURCE)
# define __C11__
#endif