Skip to content

Commit

Permalink
Platform: Use an infinite loop as the fallback ARX_DEAD_CODE() impl
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Jun 30, 2018
1 parent 87145a7 commit ef6699e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Platform.h
Expand Up @@ -312,7 +312,7 @@ namespace ARX_ANONYMOUS_NAMESPACE {
#elif ARX_HAVE_BUILTIN_UNREACHABLE
#define ARX_DEAD_CODE() __builtin_unreachable()
#else
#define ARX_DEAD_CODE() ((void)0)
#define ARX_DEAD_CODE() do { } while(true)
#endif


Expand Down

0 comments on commit ef6699e

Please sign in to comment.