mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-22 09:09:15 +01:00
Replace static_assert with #error
This commit is contained in:
parent
2ef43e8d1a
commit
4f8993e19b
@ -471,8 +471,8 @@ enum Config {
|
|||||||
#endif // VANILLA_DEFINES
|
#endif // VANILLA_DEFINES
|
||||||
|
|
||||||
#if defined(AUDIO_OAL) && !defined(EXTERNAL_3D_SOUND)
|
#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
|
#endif
|
||||||
#if defined(GTA_PS2) && defined(EXTERNAL_3D_SOUND)
|
#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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user