summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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