diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-12 11:35:07 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-12 11:39:34 +0300 |
commit | 4f8993e19bda2011eb323705db1e91c7540854af (patch) | |
tree | b663837f14a390892b8bb4f771a72c4a4331a571 /src/core | |
parent | 2ef43e8d1a8df218c32663c7b23f0baef8051651 (diff) |
Replace static_assert with #error
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/config.h | 4 |
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 |