Just fixed comment (strncmp is ANSI C so will be present on all systems as SWIG requires an ANSI compiler)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-09-27 20:17:36 +00:00
commit 0a92a2bfe0

View file

@ -117,7 +117,7 @@ String_cmp(DOH *so1, DOH *so2)
register char *c1 = s1->str;
register char *c2 = s2->str;
#if 1
/* this is better, but strncmp could be not present in all the systems? */
/* this should be faster */
if (len != s2->len) {
return (len < s2->len) ? -1 : 1;
} else {