commit | 0313607e663294cd335da2545f10e949ee546fbc | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Tue Jul 07 13:12:05 2015 -0700 |
committer | Jason Evans <jasone@canonware.com> | Tue Jul 07 20:10:28 2015 -0700 |
tree | 8f8d7f3c120f89e129e1120a3cb9a31b8bf0d631 | |
parent | 0dd3ad3841fba31312ab6e2c9ddbc453dd14f6a5 [diff] |
Fix MinGW build warnings. Conditionally define ENOENT, EINVAL, etc. (was unconditional). Add/use PRIzu, PRIzd, and PRIzx for use in malloc_printf() calls. gcc issued (harmless) warnings since e.g. "%zu" should be "%Iu" on Windows, and the alternative to this workaround would have been to disable the function attributes which cause gcc to look for type mismatches in formatted printing function calls.