mirror of
https://gitlab.com/kholdfuzion/goldeneye_src
synced 2026-06-29 10:20:58 -04:00
Everybody loves a good yearly or so update
This commit is contained in:
+3
-1
@@ -29,7 +29,7 @@ extern "C" {
|
||||
* standard header ARE SPECIFIED BY ANSI! CONFORMANCE WILL BE ALTERED
|
||||
* IF ANY NEW IDENTIFIERS ARE ADDED TO THIS AREA UNLESS THEY ARE IN ANSI's
|
||||
* RESERVED NAMESPACE. (i.e., unless they are prefixed by __[a-z] or
|
||||
* _[A-Z]. For external objects, identifiers with the prefix _[a-z]
|
||||
* _[A-Z]. For external objects, identifiers with the prefix _[a-z]
|
||||
* are also reserved.)
|
||||
*/
|
||||
|
||||
@@ -42,6 +42,8 @@ extern "C" {
|
||||
extern void osSyncPrintf(const char *fmt, ...);
|
||||
#define assert(EX) if(!(EX))osSyncPrintf("\n--- ASSERTION FAULT - %s - %s, line %d\n\n", # EX , __FILE__, __LINE__)
|
||||
|
||||
#define assertmsg(EX, MSG) if (!(EX)) osSyncPrintf(MSG)
|
||||
|
||||
// extern void __assert(const char *, const char *, int);
|
||||
// #ifdef __ANSI_CPP__
|
||||
// #define assert(EX) ((EX)?((void)0):__assert( # EX , __FILE__, __LINE__))
|
||||
|
||||
Reference in New Issue
Block a user