openjdk-23: use OpenJDK 23 as the boot JDK
[oi-userland.git] / components / library / bullet / patches / 01-gwen-macros.patch
blobc3c39fb0f80392dc6c44678ebf3362104ac6269b
1 --- ./examples/ThirdPartyLibs/Gwen/Macros.h.orig 2015-07-14 23:01:44.212253817 +0000
2 +++ ./examples/ThirdPartyLibs/Gwen/Macros.h 2015-07-14 23:07:57.459317960 +0000
3 @@ -46,6 +46,14 @@
4 #define GwenUtil_OutputDebugWideString( lpOutputString ) //wprintf( lpOutputString )
5 #define GwenUtil_WideStringToFloat( _Str ) wcstof(_Str, NULL)
7 +#elif defined(__sun__)
9 + #define GwenUtil_VSNPrintFSafe( _DstBuf, _DstSize, _MaxCount, _Format, _ArgList ) vsnprintf( _DstBuf, _DstSize, _Format, _ArgList )
10 + #define GwenUtil_VSWPrintFSafe( _DstBuf, _SizeInWords, _Format, _ArgList ) vswprintf( _DstBuf, _SizeInWords, _Format, _ArgList )
11 + #define GwenUtil_OutputDebugCharString( lpOutputString ) //printf( lpOutputString )
12 + #define GwenUtil_OutputDebugWideString( lpOutputString ) //wprintf( lpOutputString )
13 + #define GwenUtil_WideStringToFloat( _Str ) wcstof(_Str, NULL)
15 #else
17 #error MUST_IMPLEMENT_PLATFORM