summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stdbool.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/stdbool.h b/stdbool.h
index 3768ec9..46d637e 100644
--- a/stdbool.h
+++ b/stdbool.h
@@ -27,16 +27,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
-#if (defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__)
-/* ./src/stdbool/__bool_true_false_are_defined.c */
+#if !(defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__)
+# error <stdbool.h> requires C99 or higher
+#endif
+
#define __bool_true_false_are_defined (1)
-/* ./src/stdbool/bool.c */
#define bool _Bool
-/* ./src/stdbool/false.c */
#define false (0)
-/* ./src/stdbool/true.c */
#define true (1)
-#endif
-
#endif