summaryrefslogtreecommitdiff
path: root/tests/port
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-16 18:30:47 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-16 18:30:47 +0100
commit488fc614147da3c6ac5c040fac46c54f0cdff74d (patch)
tree175c24c04c9b40ff9b35c4ae5b1a19f6b972d892 /tests/port
parent6ac05a1ec304b27ecc1111ec735b69469323e922 (diff)
downloadwolfbones-488fc614147da3c6ac5c040fac46c54f0cdff74d.tar.gz
wolfbones-488fc614147da3c6ac5c040fac46c54f0cdff74d.tar.bz2
updated README of ports documentation and fixed strdup test
Diffstat (limited to 'tests/port')
-rw-r--r--tests/port/test_strdup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/port/test_strdup.c b/tests/port/test_strdup.c
index 98827d4..9cc1be6 100644
--- a/tests/port/test_strdup.c
+++ b/tests/port/test_strdup.c
@@ -1,7 +1,9 @@
#include "port/sys.h"
-#undef HAVE_STRDUP
+#undef HAVE_STRDUP
#include "port/string.c" /* for strdup */
+#undef strdup
+
#include <stdlib.h> /* for exit, EXIT_SUCCESS, free */
int main( void ) {