mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-23 10:09:48 +00:00
Fix multiple definitions of SDL_assert* when SDL_WIKI_DOCUMENTATION_SECTION is defined
This commit is contained in:
parent
0f59d2f8c9
commit
35ebaf4a45
@ -366,10 +366,9 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
|
|||||||
* \since This macro is available since SDL 3.0.0.
|
* \since This macro is available since SDL 3.0.0.
|
||||||
*/
|
*/
|
||||||
#define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
|
#define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enable various levels of assertions. */
|
/* Enable various levels of assertions. */
|
||||||
#if SDL_ASSERT_LEVEL == 0 /* assertions disabled */
|
#elif SDL_ASSERT_LEVEL == 0 /* assertions disabled */
|
||||||
# define SDL_assert(condition) SDL_disabled_assert(condition)
|
# define SDL_assert(condition) SDL_disabled_assert(condition)
|
||||||
# define SDL_assert_release(condition) SDL_disabled_assert(condition)
|
# define SDL_assert_release(condition) SDL_disabled_assert(condition)
|
||||||
# define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
|
# define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
|
||||||
|
Loading…
Reference in New Issue
Block a user