Fixes check-formats.obj : error LNK2019: unresolved external symbol _strcasecmp referenced in function _format_from_string
check-formats.obj : error LNK2019: unresolved external symbol _snprintf referenced in function _list_operators --- test/utils.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/utils.h b/test/utils.h index 28b7193..ebb14d9 100644 --- a/test/utils.h +++ b/test/utils.h @@ -6,6 +6,11 @@ #include "pixman-private.h" /* For 'inline' definition */ #include "utils-prng.h" +#if defined(_MSC_VER) +#define snprintf _snprintf +#define strcasecmp _stricmp +#endif + #define ARRAY_LENGTH(A) ((int) (sizeof (A) / sizeof ((A) [0]))) /* A primitive pseudorandom number generator, -- 1.7.12.4 (Apple Git-37) _______________________________________________ Pixman mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pixman
