ref: f8940b5046f91d736b82dd9da1b0fc4b395545b5
parent: 2dd504bd72ad563ac985b3bcaef4075a39d16bc1
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Jan 25 20:53:48 EST 2024
unix: define __wchar_t as something random to fix OpenBSD+clang issue with -fms-extensions
--- a/meson.build
+++ b/meson.build
@@ -113,6 +113,7 @@
if cc.get_id() == 'clang'
add_global_arguments(
'-Wno-microsoft-anon-tag',
+ '-D__wchar_t=__please_no_wchar_t_thank_you',
language: 'c',
)
endif