Skip to content

Commit

Permalink
Fix static_assert for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ChickChicky committed Nov 6, 2024
1 parent 8933c34 commit 1f4f18a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions randomart.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#define ARENA_IMPLEMENTATION
#include "arena.h"

#ifdef _WIN32
#define static_assert _Static_assert
#endif

#define WIDTH 800
#define HEIGHT 800

Expand Down

0 comments on commit 1f4f18a

Please sign in to comment.