[gjs: 3/6] meson.build: Define __PRETTY_FUNCTION__ for MSVC




commit 88301dd04e5d28f5c2f4b182eae83fcda276fff5
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Aug 12 14:40:08 2021 +0800

    meson.build: Define __PRETTY_FUNCTION__ for MSVC
    
    Use the Microsoft-specific __FUNCSIG__ macro in its place.

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index ed857d7f..78bfc8a6 100644
--- a/meson.build
+++ b/meson.build
@@ -45,6 +45,7 @@ if cc.get_id() == 'msvc'
         '-FImsvc_recommended_pragmas.h',
         '-EHsc',
         '-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS', # Don't worry about the C++17 deprecations
+        '-D__PRETTY_FUNCTION__=__FUNCSIG__',
         '-wd4099',
         '-wd4251',
         '-wd4291',


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