libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 10a95f711451bc653ba5d1f14c0f514e4d854c44
parent 06013743a38729c531a67a63bbfd55b50badddfe
Author: Laslo Hunhold <dev@frign.de>
Date:   Tue,  4 Jan 2022 18:47:06 +0100

Use "#ifdef" instead of "#if defined"

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
Mbenchmark/character.c | 2+-
Mbenchmark/utf8-decode.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/benchmark/character.c b/benchmark/character.c @@ -14,7 +14,7 @@ #define NUM_ITERATIONS 100000 -#if defined __has_attribute +#ifdef __has_attribute #if __has_attribute(optnone) void libgrapheme(const void *) __attribute__((optnone)); void libutf8proc(const void *) __attribute__((optnone)); diff --git a/benchmark/utf8-decode.c b/benchmark/utf8-decode.c @@ -14,7 +14,7 @@ #define NUM_ITERATIONS 100000 -#if defined __has_attribute +#ifdef __has_attribute #if __has_attribute(optnone) void libgrapheme(const void *) __attribute__((optnone)); void libutf8proc(const void *) __attribute__((optnone));