summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
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