Compile on windows

- include <stdlib.h>
- export file
- fill out structs to make it compile with visual studio

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Asanka Herath
2009-11-24 12:33:37 -08:00
committed by Love Hornquist Astrand
parent c9fdd77bc8
commit 1d624801c1
12 changed files with 40 additions and 10 deletions

View File

@@ -50,7 +50,7 @@ struct testcase {
};
static const struct testcase testcases[] = {
{ { 0x20 }, 1, { }, 0 },
{ { 0x20 }, 1, { 0 }, 0 },
{ { 0x20, 0x61 }, 2, { 0x20, 0x61, 0x20}, 3 },
{ { 0x20, 0x61, 0x20 }, 3, { 0x20, 0x61, 0x20}, 3 },
{ { 0x20, 0x61, 0x20, 0x61 }, 4, { 0x20, 0x61, 0x20, 0x20, 0x61, 0x20}, 6 }