mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
WIP: musl port
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
#define COMPILER_GCC 1
|
||||
#endif
|
||||
|
||||
#ifdef __GLIBC__
|
||||
#define PLATFORM_GLIBC 1
|
||||
#endif
|
||||
|
||||
#ifdef __clang__
|
||||
#define COMPILER_CLANG 1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user