From 67975a5944706e382fe1e7b00d226715c6242358 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 20 May 2024 10:07:16 -0400 Subject: Mass attempt at windows portability --- include/str.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/str.h') diff --git a/include/str.h b/include/str.h index 8018cc0..60116de 100644 --- a/include/str.h +++ b/include/str.h @@ -333,5 +333,9 @@ char *tolower_s(char *s); * @return pointer to new string */ char *to_short_version(const char *s); +#if defined(OMC_OS_WINDOWS) +char *strsep(char **str, const char *delim); +char *strndup(const char *str, size_t nelem); +#endif #endif //OMC_STR_H -- cgit