Fix typo
This commit is contained in:
16
third_party/duckstation/duckstation_compat.h
vendored
Normal file
16
third_party/duckstation/duckstation_compat.h
vendored
Normal 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
|
||||
Reference in New Issue
Block a user