This commit is contained in:
wheremyfoodat 2023-09-30 01:33:27 +03:00
parent 42cbcc1380
commit 5d9ded47da
35 changed files with 37343 additions and 21800 deletions

View file

@ -0,0 +1,16 @@
#ifndef DUCKSTATION_COMPAT_H
#define DUCKSTATION_COMPAT_H
#include <assert.h>
#include "compiler_builtins.hpp"
#include "helpers.hpp"
#define AssertMsg(cond, msg) assert(cond&& msg)
#define Assert(cond) assert(cond)
#define Panic(msg) assert(false && msg)
#define UnreachableCode() __builtin_unreachable()
#endif