commit 0d2db13f14f9a0e8fceed3633e8e38673557b4f3
parent ef37deaa386184fed131019b7e08ab3b03151608
Author: Robert Russell <robertrussell.72001@gmail.com>
Date: Sun, 12 Mar 2023 16:12:51 -0700
Remove -std=c11 from config.mk
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk
@@ -2,7 +2,7 @@ PREFIX = /usr/local
INCPREFIX = $(PREFIX)/include
LIBPREFIX = $(PREFIX)/lib
-CFLAGS = -std=c11 -O2 -Wall -Iinc
+CFLAGS = -O2 -Wall -Iinc
CC = cc
AR = ar
diff --git a/inc/def.h b/inc/def.h
@@ -10,7 +10,8 @@
/* VA_DEFAULT is a helper for writing macros with an optional argument. Usage:
* #define MY_MACRO(...) VA_DEFAULT(,##__VA_ARGS__, "default")
* MY_MACRO() -> "default"
- * MY_MACRO("whoa") -> "whoa" */
+ * MY_MACRO("whoa") -> "whoa"
+ * XXX: Usage of this macro depends on nonstandard features. */
#define VA_DEFAULT(_, v, ...) v
#define LEN(a) (sizeof (a) / sizeof (a)[0])