mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
shared: add STRINGFY macro
This commit is contained in:
parent
af87874f9c
commit
bf2fbabb9e
@ -45,6 +45,8 @@
|
||||
})
|
||||
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + _array_size_chk(arr))
|
||||
#define XSTRINGIFY(x) #x
|
||||
#define STRINGIFY(x) XSTRINGIFY(x)
|
||||
|
||||
/* Temporaries for importing index handling */
|
||||
#define NOFAIL(x) (x)
|
||||
|
Loading…
Reference in New Issue
Block a user