From 5920354ee9132b87cea62fed2d02fde789c1f8b8 Mon Sep 17 00:00:00 2001 From: ostanton Date: Sat, 5 Apr 2025 19:45:55 +0100 Subject: Include guards for MSVC to stop whining --- src/tick.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tick.c') diff --git a/src/tick.c b/src/tick.c index 8b8f731..4b255df 100644 --- a/src/tick.c +++ b/src/tick.c @@ -1,3 +1,6 @@ +#ifndef INCLUDE_TICK_C +#define INCLUDE_TICK_C + #include "all.c" static int isRed(int cell) { @@ -333,3 +336,5 @@ static void tick(Game *game, Arena a) { // TODO: Win conditions } } + +#endif // INCLUDE_TICK_C -- cgit v1.2.3