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:

committed by
Love Hornquist Astrand

parent
c9fdd77bc8
commit
1d624801c1
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user