Skip to content

Commit 4cc7c0e

Browse files
committed
Fix CPPSPEC_SPEC
1 parent ed2748c commit 4cc7c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cppspec.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
}
4747

4848
#define CPPSPEC_SPEC(spec_name) \
49-
int spec_name_spec(int argc, char **const argv) { \
49+
int spec_name##_spec(int argc, char **const argv) { \
5050
return CppSpec::parse(argc, argv).add_spec(spec_name).exec() \
5151
? EXIT_SUCCESS \
5252
: EXIT_FAILURE; \

0 commit comments

Comments
 (0)