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:
Vadim Zeitlin 2014-10-29 00:55:49 +01:00
commit 6d93d57ab0

View file

@ -35,9 +35,11 @@ KW(chan, fallthrough)
KW(end, function)
KW(nil,local)
#ifdef __cplusplus
struct Keywords {
void selfkw(int self) {}
};
#endif /* __cplusplus */
%}