From 5e71a7d6b81f12c224cc06eacb6fee8e96b2ac8c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 28 Jun 2022 16:42:32 -0400 Subject: Fix build as C with MSVC --- meson.build | 5 ----- 1 file changed, 5 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 92525e8..5b54107 100644 --- a/meson.build +++ b/meson.build @@ -66,11 +66,6 @@ int main(void) { void* mem; posix_memalign(&mem, 8, 8); }''' name: 'posix_memalign').to_int()) endif -# Build as C++ on MSVC -if cc.get_id() == 'msvc' - add_project_arguments(['/TP'], language: ['c']) -endif - ########### # Library # ########### -- cgit v1.2.1