summaryrefslogtreecommitdiff
path: root/tests/port/test_strncasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/port/test_strncasecmp.c')
-rw-r--r--tests/port/test_strncasecmp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/port/test_strncasecmp.c b/tests/port/test_strncasecmp.c
index 0483c41..3700613 100644
--- a/tests/port/test_strncasecmp.c
+++ b/tests/port/test_strncasecmp.c
@@ -1,13 +1,7 @@
#include "port/sys.h"
-#ifdef HAVE_STRNCASECMP
-#define SAVE_HAVE_STRNCASECMP
-#undef HAVE_STRNCASECMP
-#endif
+#define TEST_STRNCASECMP
#include "port/string.c" /* for strcasecmp */
-#ifdef SAVE_HAVE_STRNCASECMP
-#undef strncasecmp
-#endif
#include <stdlib.h> /* for EXIT_SUCCESS, EXIT_FAILURE */