mingw doesnt accept .errno of cs_struct. this fixes make it happy, and enable Windows cross-compile again

This commit is contained in:
Nguyen Anh Quynh
2013-11-27 15:24:47 +08:00
parent ec74555220
commit 3eb9ac9bb9
2 changed files with 13 additions and 13 deletions

View File

@ -34,7 +34,7 @@ typedef struct cs_struct {
GetID_t insn_id;
PostPrinter_t post_printer;
bool micro_mips; // for Mips only
cs_err errno;
cs_err errnum;
} cs_struct;
#endif