diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-10-20 15:22:21 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-10-20 15:22:21 +0200 |
commit | 1d8b9e17ea13630aec475484da09ebba0366f7c8 (patch) | |
tree | 0c801f68561bfb0930a4ade80d7ca3a7940887ab /lib/streq.h | |
parent | 84e26c587987e8484d55db4165f188b40c09e94b (diff) | |
parent | 630f99f29bd31a76d8d24da2975a045452c763ef (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'lib/streq.h')
-rw-r--r-- | lib/streq.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 <string.h> +#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 */ |