summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-12 10:35:07 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-12 10:39:34 +0200
commit4f8993e19bda2011eb323705db1e91c7540854af (patch)
treeb663837f14a390892b8bb4f771a72c4a4331a571
parentFix sampman_null (diff)
downloadre3-4f8993e19bda2011eb323705db1e91c7540854af.tar
re3-4f8993e19bda2011eb323705db1e91c7540854af.tar.gz
re3-4f8993e19bda2011eb323705db1e91c7540854af.tar.bz2
re3-4f8993e19bda2011eb323705db1e91c7540854af.tar.lz
re3-4f8993e19bda2011eb323705db1e91c7540854af.tar.xz
re3-4f8993e19bda2011eb323705db1e91c7540854af.tar.zst
re3-4f8993e19bda2011eb323705db1e91c7540854af.zip
-rw-r--r--src/core/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/config.h b/src/core/config.h
index 782ad99f..063745b8 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -471,8 +471,8 @@ enum Config {
#endif // VANILLA_DEFINES
#if defined(AUDIO_OAL) && !defined(EXTERNAL_3D_SOUND)
-static_assert(false, "AUDIO_OAL cannot work without EXTERNAL_3D_SOUND");
+#error AUDIO_OAL cannot work without EXTERNAL_3D_SOUND
#endif
#if defined(GTA_PS2) && defined(EXTERNAL_3D_SOUND)
-static_assert(false, "EXTERNAL_3D_SOUND cannot work on PS2");
+#error EXTERNAL_3D_SOUND cannot work on PS2
#endif