]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5342 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 24 Apr 2013 17:12:42 +0000 (12:12 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 24 Apr 2013 17:12:42 +0000 (12:12 -0500)
src/switch_core_cert.c

index 1ff065354c67f3b3554cc8466787cb6118db7a5d..41446c600dd552d4177f7e55ee9d3d7f556c0a52 100644 (file)
@@ -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)
 {