summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/diag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diag.h b/src/diag.h
index 3bea9b2..7b3e8a5 100644
--- a/src/diag.h
+++ b/src/diag.h
@@ -27,7 +27,7 @@ struct bfs_loc {
/**
* Get the current source code location.
*/
-#if __STDC_VERSION__ >= C23
+#if BFS_HAS_COMPOUND_LITERAL_STORAGE
# define bfs_location() (&(static const struct bfs_loc)BFS_LOC_INIT)
#else
# define bfs_location() (&(const struct bfs_loc)BFS_LOC_INIT)