Fixed a name clash with the langauge

This commit is contained in:
2022-11-07 16:44:21 +00:00
parent d40234637a
commit 7c886b071f
7 changed files with 11 additions and 10 deletions

20
core/core_common.h Normal file
View File

@@ -0,0 +1,20 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
//platform exports/imports
#if defined(__linux__)
#define CORE_API extern
#else
#define CORE_API
#endif
#include <assert.h>
//test variable sizes based on platform
#define STATIC_ASSERT(test_for_true) static_assert((test_for_true), "(" #test_for_true ") failed")