Merge branch 'mingw-arch' into 'master'

Fix arch detection ifdefs in glib/valgrind.h

See merge request GNOME/glib!1429
This commit is contained in:
Sebastian Dröge 2020-04-01 11:58:39 +00:00
commit b4d6849c83

View File

@ -130,11 +130,11 @@
# define PLAT_x86_darwin 1 # define PLAT_x86_darwin 1
#elif defined(__APPLE__) && defined(__x86_64__) #elif defined(__APPLE__) && defined(__x86_64__)
# define PLAT_amd64_darwin 1 # define PLAT_amd64_darwin 1
#elif (defined(__MINGW32__) && !defined(__MINGW64__)) \ #elif (defined(__MINGW32__) && defined(__i386__)) \
|| defined(__CYGWIN32__) \ || defined(__CYGWIN32__) \
|| (defined(_WIN32) && defined(_M_IX86)) || (defined(_WIN32) && defined(_M_IX86))
# define PLAT_x86_win32 1 # define PLAT_x86_win32 1
#elif defined(__MINGW64__) \ #elif (defined(__MINGW64__) && defined(__x86_64__)) \
|| (defined(_WIN64) && defined(_M_X64)) || (defined(_WIN64) && defined(_M_X64))
# define PLAT_amd64_win64 1 # define PLAT_amd64_win64 1
#elif defined(__linux__) && defined(__i386__) #elif defined(__linux__) && defined(__i386__)