Windows: #196 MinGW/MSYS instructions; INTERNAL and printf %zu Windows-compat fixes

This commit is contained in:
gitlost
2020-06-18 15:51:57 +01:00
parent 9db5dd15c2
commit d921cb11fb
3 changed files with 112 additions and 13 deletions

View File

@ -55,7 +55,7 @@
#define ustrcpy(target, source) strcpy((char *) (target), (const char *) (source))
#define ustrcat(target, source) strcat((char *) (target), (const char *) (source))
#if defined(__GNUC__) && !defined(ZINT_TEST)
#if defined(__GNUC__) && !defined(_WIN32) && !defined(ZINT_TEST)
#define INTERNAL __attribute__ ((visibility ("hidden")))
#else
#define INTERNAL