Global: unifies FF_STR macro

This commit is contained in:
Carter Li
2026-06-13 08:25:59 +08:00
committed by 李通洲
parent 14dfe171fb
commit 17914dc29e
8 changed files with 9 additions and 20 deletions
+1 -3
View File
@@ -2,6 +2,7 @@
#include "common/io.h"
#include "common/properties.h"
#include "common/memrchr.h"
#include "common/strutil.h"
#include <stdlib.h>
#ifdef __FreeBSD__
@@ -22,9 +23,6 @@
#include "fastfetch_amdgpuids.c.inc"
#endif
#define FF_STR_INDIR(x) #x
#define FF_STR(x) FF_STR_INDIR(x)
static const FFstrbuf* loadPciIds() {
static FFstrbuf pciids;