The example is from SDL, tested with Astyle 3.6.23, the following code remains unchanged and is not formatted:
void SDL_PromptAssertion()
{
{
#ifdef SDL_PLATFORM_PRIVATE_ASSERT
#elif defined(SDL_PLATFORM_EMSCRIPTEN)
/* *INDENT-OFF* */
/* *INDENT-ON* */
#endif
}
if (window)
{
SDL_RestoreWindow(window);
}
return;
}
using: