From 285be3275bd330f8f82357d504208bfd85ed4d22 Mon Sep 17 00:00:00 2001 From: HiGarfield Date: Tue, 7 Jan 2025 12:20:44 +0800 Subject: [PATCH] Define `inline` as `__inline` when using `-std=c89` --- src/process_iterator_freebsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process_iterator_freebsd.c b/src/process_iterator_freebsd.c index a89b67d1..9d73adaf 100644 --- a/src/process_iterator_freebsd.c +++ b/src/process_iterator_freebsd.c @@ -29,7 +29,7 @@ #endif #if defined(__STRICT_ANSI__) || !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) -#define inline +#define inline __inline #endif #include