CMake: allow to replace native *printf to stb_*printf

This commit is contained in:
Carter Li
2024-10-28 14:47:08 +08:00
parent 332ddfc6ed
commit e19ed4c8f6
8 changed files with 80 additions and 4 deletions
+3
View File
@@ -266,6 +266,9 @@ void ffListFeatures(void)
#if FF_HAVE_EMBEDDED_PCIIDS
"Embedded pciids\n"
#endif
#if FF_USE_STBPRINTF
"stb_printf\n"
#endif
""
, stdout);
}
+2
View File
@@ -9,6 +9,8 @@
#include <sysinfoapi.h>
#endif
#include "util/stb_printf.h"
static inline double ffTimeGetTick(void) //In msec
{
#ifdef _WIN32