mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-13 21:06:17 +01:00
glib/valgrind.h: Disable inline ASM on MSVC x64 builds
Visual Studio x64 builds do not allow inline assembly code, so we need to re-add the code that disables inline assembly when we build with Visual Studio for x64 builds, as we did before. This is necessary when we update the included valgrind.h.
This commit is contained in:
parent
8f2d68da65
commit
bbcce75d4e
@ -171,6 +171,16 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* XXX: Unfortunately x64 Visual C++ does not suport inline asms,
|
||||||
|
* so disable the use of valgrind's inline asm's for x64 Visual C++
|
||||||
|
* builds, so that x64 Visual C++ builds of GLib can be maintained
|
||||||
|
*/
|
||||||
|
#if defined (PLAT_amd64_win64) && defined (_MSC_VER)
|
||||||
|
# if !defined(NVALGRIND)
|
||||||
|
# define NVALGRIND 1
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* ------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------ */
|
||||||
/* ARCHITECTURE SPECIFICS for SPECIAL INSTRUCTIONS. There is nothing */
|
/* ARCHITECTURE SPECIFICS for SPECIAL INSTRUCTIONS. There is nothing */
|
||||||
|
Loading…
Reference in New Issue
Block a user