diff options
author | ostanton <oliver@stanton.uk.net> | 2025-04-05 19:45:55 +0100 |
---|---|---|
committer | ostanton <oliver@stanton.uk.net> | 2025-04-05 19:45:55 +0100 |
commit | 5920354ee9132b87cea62fed2d02fde789c1f8b8 (patch) | |
tree | 6f72018ef0bcb42e6915a722baf93e0d339af709 /src/types.c | |
parent | 1c805d096248db7184b7d935f008ab5ae49a714e (diff) | |
download | ldjam57-5920354ee9132b87cea62fed2d02fde789c1f8b8.tar |
Include guards for MSVC to stop whining
Diffstat (limited to 'src/types.c')
-rw-r--r-- | src/types.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.c b/src/types.c index cbd9315..fd8f9ee 100644 --- a/src/types.c +++ b/src/types.c @@ -1,3 +1,6 @@ +#ifndef INCLUDE_TYPES_C +#define INCLUDE_TYPES_C + #include "all.c" #define MEM_SIZE (1<<24) @@ -106,3 +109,5 @@ static void *alloc(Arena *a, ptrdiff_t count, ptrdiff_t size, ptrdiff_t align) { return r; } + +#endif // INCLUDE_TYPES_C |