37 lines
967 B
C
37 lines
967 B
C
#if PLATFORM_WINDOWS
|
|
#define NOMINMAX
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
#endif
|
|
|
|
#if PLATFORM_ADDRESS_SANITIZER
|
|
#include <sanitizer/asan_interface.h>
|
|
#endif
|
|
|
|
#if !defined(ASAN_POISON_MEMORY_REGION)
|
|
#define MA_ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size))
|
|
#define MA_ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size))
|
|
#else
|
|
#define MA_ASAN_POISON_MEMORY_REGION(addr, size) ASAN_POISON_MEMORY_REGION(addr, size)
|
|
#define MA_ASAN_UNPOISON_MEMORY_REGION(addr, size) ASAN_UNPOISON_MEMORY_REGION(addr, size)
|
|
#endif
|
|
|
|
#if PLATFORM_CL
|
|
#include <math.h>
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#endif
|
|
|
|
#include "core_intrin.c"
|
|
#include "core_unicode.c"
|
|
#include "core_math.c"
|
|
#include "core_math.gen.c"
|
|
#include "core_arena.c"
|
|
|
|
#define STB_SPRINTF_IMPLEMENTATION
|
|
#include "stb_sprintf.h"
|
|
#include "core_string.c"
|
|
#include "core_log.c"
|
|
#include "core_lexer.c"
|
|
#include "core_type_info.c" |