From 15e4da68e421aa38abc2086c88069147d34d7323 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 24 Apr 2013 12:12:42 -0500 Subject: [PATCH] FS-5342 --resolve --- src/switch_core_cert.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/switch_core_cert.c b/src/switch_core_cert.c index 1ff065354c..41446c600d 100644 --- a/src/switch_core_cert.c +++ b/src/switch_core_cert.c @@ -102,8 +102,13 @@ static const EVP_MD *get_evp_by_name(const char *name) return NULL; } -#ifdef _MSC_VER -/* Visual C do not have strsep? */ +#if defined(_MSC_VER) || (defined(__SunOS_5_10) && defined(__SUNPRO_C)) +/* + * Visual C do not have strsep? + * + * Solaris 10 with the Sun Studio compilers doesn't have strsep in the + * C library either. + */ char *strsep(char **stringp, const char *delim) {