Skip to content

Commit

Permalink
Define mmk_noreturn if __STDC_VERSION__ >= 201112L (ros2#29)
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard committed Feb 10, 2024
1 parent 4185c32 commit bbbf65c
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 bbbf65c

Please sign in to comment.