diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 10:07:16 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 10:11:29 -0400 |
commit | 67975a5944706e382fe1e7b00d226715c6242358 (patch) | |
tree | e93dd37df57f49d4327567479521014f380206e5 /include/str.h | |
parent | 30c9945e0da19305ebad88a2835653ff4f409313 (diff) | |
download | stasis-67975a5944706e382fe1e7b00d226715c6242358.tar.gz |
Mass attempt at windows portability
Diffstat (limited to 'include/str.h')
-rw-r--r-- | include/str.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |