mirror of
https://github.com/zeldaret/oot
synced 2026-05-23 06:54:24 -04:00
macros.h 3/5: Split various macros (#2512)
* split out various macros * fix * fix2 * fix dw * libc path * fix macro * does this fix bss * fix bss
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#ifndef AVOID_UB_H
|
||||
#define AVOID_UB_H
|
||||
|
||||
/**
|
||||
* This macro is used when the return type of a function is incorrect
|
||||
*/
|
||||
#ifndef AVOID_UB
|
||||
#define BAD_RETURN(type) type
|
||||
#else
|
||||
#define BAD_RETURN(type) void
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user