Signed-off-by: stan smith <[email protected]> diff --git a/opensm/osmtest/osmtest.c b/opensm/osmtest/osmtest.c index c6ec955..423e836 100644 --- a/opensm/osmtest/osmtest.c +++ b/opensm/osmtest/osmtest.c @@ -59,10 +59,6 @@ #include <complib/cl_debug.h> #include "osmtest.h" -#ifndef __WIN__ -#define strnicmp strncasecmp -#endif - #define POOL_MIN_ITEMS 64 #define MAX_LOCAL_IBPORTS 64 @@ -6169,7 +6165,7 @@ static const osmtest_token_t *str_get_token(IN char *const p_str) p_tok = &token_array[index]; while (p_tok->val != OSMTEST_TOKEN_UNKNOWN) { - if (strnicmp(p_str, p_tok->str, p_tok->str_size) == 0) + if (strncasecmp(p_str, p_tok->str, p_tok->str_size) == 0) return (p_tok); p_tok = &token_array[++index];
_______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
