summaryrefslogtreecommitdiff
path: root/devel/bullet/files/patch-examples_ThirdPartyLibs_Gwen_Macros.h
blob: 37d16b4aa50b28f43152d2d912983f9b7f8ef881 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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