WIP: musl port

This commit is contained in:
nillerusr
2023-04-24 22:19:49 +00:00
parent ba695d2092
commit 699271f212
57 changed files with 24 additions and 2346 deletions

View File

@@ -38,11 +38,14 @@
#define XBOX_CODELINE_ONLY() Error_Compiling_Code_Only_Valid_in_Xbox_Codeline
#endif
// stdio.h
#if !defined(NULL) || defined(__FreeBSD__)
#ifdef NULL
# undef NULL
#ifdef nullptr
#undef nullptr
#define nullptr 0
#endif
// stdio.h
#ifdef NULL
#undef NULL
#define NULL 0
#endif

View File

@@ -17,6 +17,10 @@
#define COMPILER_GCC 1
#endif
#ifdef __GLIBC__
#define PLATFORM_GLIBC 1
#endif
#ifdef __clang__
#define COMPILER_CLANG 1
#endif