mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-03 14:06:44 +00:00
fix idiotic libs problems again
This commit is contained in:
parent
38fdbf18c2
commit
852f4052be
@ -38,15 +38,17 @@
|
|||||||
#define XBOX_CODELINE_ONLY() Error_Compiling_Code_Only_Valid_in_Xbox_Codeline
|
#define XBOX_CODELINE_ONLY() Error_Compiling_Code_Only_Valid_in_Xbox_Codeline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(PLATFORM_GLIBC) && defined(LINUX) // fuck musl
|
||||||
#ifdef nullptr
|
#ifdef nullptr
|
||||||
#undef nullptr
|
#undef nullptr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define nullptr 0
|
#define nullptr 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// stdio.h
|
// stdio.h
|
||||||
#ifdef NULL
|
#if !defined( NULL ) || defined( PLATFORM_BSD )
|
||||||
#undef NULL
|
#undef NULL
|
||||||
#define NULL 0
|
#define NULL 0
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user