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

@@ -51,10 +51,10 @@ struct example {
};
static struct example cases[] = {
{{}, 0, {}, 0},
{{0}, 0, {0}, 0},
{{0x0041}, 1, {0x0061}, 1},
{{0x0061}, 1, {0x0061}, 1},
{{0x00AD}, 1, {}, 0},
{{0x00AD}, 1, {0}, 0},
{{0x00DF}, 1, {0x0073, 0x0073}, 2}
};
@@ -95,3 +95,4 @@ main(void)
failures += try(&cases[i]);
return failures != 0;
}