Fixed a name clash with the langauge
This commit is contained in:
20
core/core_common.h
Normal file
20
core/core_common.h
Normal 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")
|
||||
Reference in New Issue
Block a user