Fix Windows build errors in valgrind.h707106c7a5d13d7d81f8870146411f4d75bcf84b
commit707106c7a5d13d7d81f8870146411f4d75bcf84b
authorXavier Claessens <xavier.claessens@collabora.com>
Sat, 26 May 2018 01:30:57 +0000 (25 21:30 -0400)
committerXavier Claessens <xavier.claessens@collabora.com>
Mon, 28 May 2018 13:22:55 +0000 (28 09:22 -0400)
tree03981cf337fd43dbf0ff99d1e350690b324f2a89
parentf9dc091e379494fcad5af532dc7db62b79294416
Fix Windows build errors in valgrind.h

valgrind.h is a verbatim copy taken from Valgrind project. Previously
that file had local changes that got dropped by last update. To avoid
regressing again, do not edit valgrind.h anymore and instead add a
gvalgrind.h wrapper that gets included instead.

This fix 2 errors:
- uintptr_t is not defined when including valgrind.h on mingw.
- MSVC compiler is not supported on amd64-Win64 platform.
glib/Makefile.am
glib/gslice.c
glib/gvalgrind.h [new file with mode: 0644]
gobject/gclosure.c
gobject/gtype.c