summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-21 21:11:15 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-21 21:11:15 -0400
commit0843fbd9d8dc18beb15d38f154c3da2720cb2264 (patch)
tree71cc887e115814df9de61ff269175b22d1708340
parent9d2095a22226b1d3d2c4e1331fe7d517f0f9abce (diff)
cleanup
-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