summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-19 22:51:33 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-19 22:53:35 -0400
commitda61efabb1b28c5500824a560c960a720a628de0 (patch)
tree618127733dd0a2923536f52b920671723e6471db /base.h
parent61cd687d858b7a3811a168393f6b698c24cfff17 (diff)
markdown highlighting
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>