mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-31 18:20:01 -06:00
17 lines
346 B
C
17 lines
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 |