Define strncasecmp for non unix builds only.

This commit is contained in:
Janet B. Anderson
1998-06-12 19:28:07 +00:00
parent aea3386205
commit 53fab670ea
2 changed files with 4 additions and 0 deletions

View File

@@ -267,6 +267,7 @@ static struct expression_element fetch_string_element = {
"AA", 0, 0, OPERAND, SFETCH, /* fetch var */
};
#if !defined(UNIX)
static int strncasecmp(char *s1, char *s2, size_t n)
{
short i;
@@ -276,6 +277,7 @@ static int strncasecmp(char *s1, char *s2, size_t n)
}
return(0);
}
#endif
/*
* FIND_ELEMENT
*

View File

@@ -267,6 +267,7 @@ static struct expression_element fetch_string_element = {
"AA", 0, 0, OPERAND, SFETCH, /* fetch var */
};
#if !defined(UNIX)
static int strncasecmp(char *s1, char *s2, size_t n)
{
short i;
@@ -276,6 +277,7 @@ static int strncasecmp(char *s1, char *s2, size_t n)
}
return(0);
}
#endif
/*
* FIND_ELEMENT
*