summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/Stg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/Stg.h b/includes/Stg.h
index b179db6deb..f1949b1630 100644
--- a/includes/Stg.h
+++ b/includes/Stg.h
@@ -26,6 +26,10 @@
#ifndef STG_H
#define STG_H
+#if !(__STDC_VERSION__ >= 199901L)
+# error __STDC_VERSION__ does not advertise C99 or later
+#endif
+
/*
* If we are compiling a .hc file, then we want all the register
* variables. This is the what happens if you #include "Stg.h" first: