mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
16 lines
351 B
C
16 lines
351 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// `memrchr` is a GNU extension and may not be declared by system headers even when the symbol exists.
|
|
// Declare it unconditionally; the build system provides a fallback implementation when missing.
|
|
void* memrchr(const void* s, int c, size_t n);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|