Add ASM define to wrap mwerks asm keyword

This commit is contained in:
LagoLunatic
2024-12-28 15:45:24 -05:00
parent f18e2b10dd
commit f543b7b471
15 changed files with 83 additions and 78 deletions
+2
View File
@@ -33,11 +33,13 @@
#define ALIGN_DECL(ALIGNMENT) __attribute__((aligned(ALIGNMENT)))
#define SECTION_DATA __declspec(section ".data")
#define SECTION_INIT __declspec(section ".init")
#define ASM asm
#else
#define STATIC_ASSERT(...)
#define ALIGN_DECL(...)
#define SECTION_DATA
#define SECTION_INIT
#define ASM
#endif
extern int __cntlzw(uint);