mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-10 12:50:04 +00:00
17 lines
No EOL
346 B
C++
17 lines
No EOL
346 B
C++
#ifndef DUCKSTATION_COMPAT_H
|
|
#define DUCKSTATION_COMPAT_H
|
|
|
|
#include "../types.h"
|
|
|
|
#include <assert.h>
|
|
|
|
#define ALWAYS_INLINE __attribute__((always_inline)) inline
|
|
|
|
#define AssertMsg(cond, msg) assert(cond && msg)
|
|
#define Assert(cond) assert(cond)
|
|
|
|
#define Panic(msg) assert(false && msg)
|
|
|
|
#define UnreachableCode() __builtin_unreachable()
|
|
|
|
#endif |