diff options
author | David Robillard <d@drobilla.net> | 2024-11-13 11:39:14 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-13 11:50:02 -0500 |
commit | 35e76431e5bdf24b67dc0b9a3f78367adb36b15c (patch) | |
tree | 2b9ad8cd52b1a50db3788be31a6ef20f4ce73359 /src | |
parent | 613997e29aff202492ab368768c57857640b23b2 (diff) | |
download | sord-35e76431e5bdf24b67dc0b9a3f78367adb36b15c.tar.gz sord-35e76431e5bdf24b67dc0b9a3f78367adb36b15c.tar.bz2 sord-35e76431e5bdf24b67dc0b9a3f78367adb36b15c.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/sord.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |