From 4682deeb62247d34de87f8e777f99e2d337fd377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 20 Oct 2024 15:21:43 +0200 Subject: New upstream version 1.3 --- lib/streq.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/streq.h') diff --git a/lib/streq.h b/lib/streq.h index 12343463..8593de6d 100644 --- a/lib/streq.h +++ b/lib/streq.h @@ -21,6 +21,11 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + + /* STREQ_OPT allows to optimize string comparison with a small literal string. STREQ_OPT (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) is semantically equivalent to @@ -173,4 +178,9 @@ streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, #endif + +#ifdef __cplusplus +} +#endif + #endif /* _GL_STREQ_H */ -- cgit v1.2.3