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:
fig02
2025-04-25 21:12:35 -04:00
committed by GitHub
parent d4528a0541
commit 25b2fa4bca
35 changed files with 137 additions and 92 deletions
+13
View File
@@ -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