summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-20 19:33:33 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-20 19:33:33 -0400
commitf1a5e67911f92318dab3f980808874b8369389d6 (patch)
tree02cd3361dd5577c6017f3247cad1bc2b488d6af3 /base.h
parentadc0e91ddbe70c2127d39c337d9b4a09ea752425 (diff)
fix non-GNU build
Diffstat (limited to 'base.h')
-rw-r--r--base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base.h b/base.h
index 9e39f93..00d6a5b 100644
--- a/base.h
+++ b/base.h
@@ -11,6 +11,8 @@
#if __GNUC__
#define FALLTHROUGH __attribute__((fallthrough));
+#else
+#define FALLTHROUGH
#endif
#if _WIN32