Don't use C++ features when building test code as C.
This fixes the build after a6efdb7 which added a method to a test used in both
C++ and C test cases.
This commit is contained in:
parent
a6efdb7999
commit
6d93d57ab0
1 changed files with 2 additions and 0 deletions
|
|
@ -35,9 +35,11 @@ KW(chan, fallthrough)
|
|||
KW(end, function)
|
||||
KW(nil,local)
|
||||
|
||||
#ifdef __cplusplus
|
||||
struct Keywords {
|
||||
void selfkw(int self) {}
|
||||
};
|
||||
#endif /* __cplusplus */
|
||||
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue