Make XTDK headers assembly-safe

This commit is contained in:
2026-04-01 16:05:34 +02:00
parent 232b92fd7e
commit 87a91bfeb1
47 changed files with 186 additions and 23 deletions

View File

@@ -10,6 +10,9 @@
#define __XTDK_XTCOMPAT_H
/* C/C++ specific code */
#ifndef __XTOS_ASSEMBLER__
#ifdef __cplusplus
/* C++ definitions */
#define NULLPTR nullptr
@@ -40,4 +43,5 @@
typedef unsigned short wchar;
#endif
#endif /* __XTOS_ASSEMBLER__ */
#endif /* __XTDK_XTCOMPAT_H */