Skip to content

Commit

Permalink
Define mmk_noreturn if __STDC_VERSION__ >= 201112L
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
  • Loading branch information
christophebedard-apexai committed Feb 10, 2024
1 parent 4185c32 commit d63cc7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

# if __STDC_VERSION__ >= 201112L
# include <stdnoreturn.h>
# define mmk_noreturn _Noreturn
# elif defined __GNUC__
# define mmk_noreturn __attribute__((noreturn))
# elif defined _MSC_VER
Expand Down

0 comments on commit d63cc7a

Please sign in to comment.