summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'base.h')
-rw-r--r--base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base.h b/base.h
index 94ff2bf..9e39f93 100644
--- a/base.h
+++ b/base.h
@@ -9,6 +9,10 @@
#define _GNU_SOURCE
#endif
+#if __GNUC__
+#define FALLTHROUGH __attribute__((fallthrough));
+#endif
+
#if _WIN32
#include <windows.h>
#include <shlobj.h>