mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 18:13:38 +01:00
CMake: allow to replace native *printf to stb_*printf
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <sysinfoapi.h>
|
||||
#endif
|
||||
|
||||
#include "util/stb_printf.h"
|
||||
|
||||
static inline double ffTimeGetTick(void) //In msec
|
||||
{
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user