fix idiotic libs problems again
This commit is contained in:
parent
70b73ca1f4
commit
f7b85181f9
1 changed files with 4 additions and 2 deletions
|
@ -38,15 +38,17 @@
|
|||
#define XBOX_CODELINE_ONLY() Error_Compiling_Code_Only_Valid_in_Xbox_Codeline
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(PLATFORM_GLIBC) && defined(LINUX) // fuck musl
|
||||
#ifdef nullptr
|
||||
#undef nullptr
|
||||
#endif
|
||||
|
||||
#define nullptr 0
|
||||
#endif
|
||||
|
||||
|
||||
// stdio.h
|
||||
#ifdef NULL
|
||||
#if !defined( NULL ) || defined( PLATFORM_BSD )
|
||||
#undef NULL
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue