From 4b8583168b2023f99b134ab6204272d584a9c39e Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 27 Mar 2015 12:14:14 -0700 Subject: [PATCH] add our strsep to msvc build --- wolfssl/test.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wolfssl/test.h b/wolfssl/test.h index 8d54be866..c87d6b084 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -1769,7 +1769,8 @@ static INLINE void SetupPkCallbacks(WOLFSSL_CTX* ctx, WOLFSSL* ssl) -#if defined(__hpux__) || defined(__MINGW32__) || defined (WOLFSSL_TIRTOS) +#if defined(__hpux__) || defined(__MINGW32__) || defined (WOLFSSL_TIRTOS) \ + || defined(_MSC_VER) /* HP/UX doesn't have strsep, needed by test/suites.c */ static INLINE char* strsep(char **stringp, const char *delim) @@ -1791,7 +1792,7 @@ static INLINE char* strsep(char **stringp, const char *delim) return start; } -#endif /* __hpux__ */ +#endif /* __hpux__ and others */ /* Create unique filename, len is length of tempfn name, assuming len does not include null terminating character,