[glib: 2/5] Revert "glib/valgrind.h: Disable inline ASM on MSVC x64 builds"



commit f9dc091e379494fcad5af532dc7db62b79294416
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Fri May 25 09:22:43 2018 -0400

    Revert "glib/valgrind.h: Disable inline ASM on MSVC x64 builds"
    
    Better not modify copy/paster files otherwise this will regress again
    later. It's better to not include valgrind.h at all when using MSVC.
    
    This reverts commit bbcce75d4e09f74894684b18222170eef97e8b2c.

 glib/valgrind.h | 10 ----------
 1 file changed, 10 deletions(-)
---
diff --git a/glib/valgrind.h b/glib/valgrind.h
index cddc38deb..5aed0dfca 100644
--- a/glib/valgrind.h
+++ b/glib/valgrind.h
@@ -171,16 +171,6 @@
 #  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 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]