Ported to Linux!
This commit is contained in:
@@ -794,9 +794,14 @@ compile_to_c_code(){
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef Panic
|
||||
#define Panic(...) (*(volatile int *)0 = 0)
|
||||
#endif
|
||||
|
||||
#ifndef Assert
|
||||
#define Assert(x) do{if(!(x))__debugbreak();}while(0)
|
||||
#define Assert(x) do{if(!(x))Panic();}while(0)
|
||||
#endif
|
||||
|
||||
#ifndef AssertMessage
|
||||
|
||||
Reference in New Issue
Block a user