Skip to content

Commit

Permalink
Add a space in macro for ancient compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Sep 17, 2024
1 parent 1b622d2 commit ebfd73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ typedef struct {
#define FOR_EACH(macro, ...) \
__VA_OPT__(EXPAND(FOR_EACH_HELPER(macro, __VA_ARGS__)))
#define FOR_EACH_HELPER(macro, a1, ...) \
macro(a1)__VA_OPT__(FOR_EACH_AGAIN PARENS (macro, __VA_ARGS__))
macro(a1) __VA_OPT__(FOR_EACH_AGAIN PARENS (macro, __VA_ARGS__))
#define FOR_EACH_AGAIN() FOR_EACH_HELPER
#define STRINGIFY(x) #x
#define TOSTRING(...) FOR_EACH(STRINGIFY, __VA_ARGS__)
Expand Down

0 comments on commit ebfd73b

Please sign in to comment.