From 35e76431e5bdf24b67dc0b9a3f78367adb36b15c Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Wed, 13 Nov 2024 11:39:14 -0500
Subject: Fix build as C with MSVC

It used to be necessary to build modern C code as C++ with MSVC, but its C
support has become more or less serviceable, so remove the flag to force C++
mode and build as C everywhere.
---
 src/sord.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/sord.c b/src/sord.c
index 4e5934e..52a9ad0 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -935,7 +935,7 @@ sord_get(SordModel*      model,
          const SordNode* o,
          const SordNode* g)
 {
-  if ((bool)s + (bool)p + (bool)o != 2) {
+  if (!!s + !!p + !!o != 2) {
     return NULL;
   }
 
-- 
cgit v1.2.1