ports/devel/bullet/files/patch-examples_ThirdPartyLibs_Gwen_Macros.h
Dima Panov 0ee4d03db3 devel/bullet: update to 3.21 release
While here, take maintainership

Approved by:	acm (previous maintainer, by mail)
Sponsored by:	Netzkommune GmbH
2021-12-14 21:07:00 +03:00

11 lines
544 B
C

--- examples/ThirdPartyLibs/Gwen/Macros.h.orig 2021-05-07 18:04:02 UTC
+++ examples/ThirdPartyLibs/Gwen/Macros.h
@@ -41,7 +41,7 @@
#define GwenUtil_OutputDebugWideString(lpOutputString) //wprintf( lpOutputString )
#define GwenUtil_WideStringToFloat(_Str) wcstof(_Str, NULL)
-#elif defined(__linux__) || defined(__GNUC__)
+#elif defined(__linux__) || defined(__GNUC__) || defined(__FreeBSD__)
#define GwenUtil_VSNPrintFSafe(_DstBuf, _DstSize, _MaxCount, _Format, _ArgList) vsnprintf(_DstBuf, _DstSize, _Format, _ArgList)
#ifdef _WIN32