summaryrefslogtreecommitdiff
path: root/tests/port/test_strcasecmp.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-22 20:56:00 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-22 20:56:00 +0100
commit674109843a62212ff595f74c1f44d7ff74c859d6 (patch)
tree0f17e65f99d26d1f06aa26d175ba4af76194d1b1 /tests/port/test_strcasecmp.c
parentd310129bc8df76249e7beca2d50b5511614dc917 (diff)
downloadwolfbones-674109843a62212ff595f74c1f44d7ff74c859d6.tar.gz
wolfbones-674109843a62212ff595f74c1f44d7ff74c859d6.tar.bz2
fixed porting tests, and fixed Solaris 8 port of string.h
Diffstat (limited to 'tests/port/test_strcasecmp.c')
-rw-r--r--tests/port/test_strcasecmp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/port/test_strcasecmp.c b/tests/port/test_strcasecmp.c
index 82ea785..fb17eed 100644
--- a/tests/port/test_strcasecmp.c
+++ b/tests/port/test_strcasecmp.c
@@ -1,8 +1,13 @@
#include "port/sys.h"
+#ifdef HAVE_STRCASECMP
+#define SAVE_HAVE_STRCASECMP
#undef HAVE_STRCASECMP
+#endif
#include "port/string.c" /* for strcasecmp */
+#ifdef SAVE_HAVE_STRCASECMP
#undef strcasecmp
+#endif
#include <stdlib.h> /* for EXIT_SUCCESS, EXIT_FAILURE */