[Perl] tidy "warning: duplicate 'extern' declaration specifier" when building generated code under clang
This commit is contained in:
parent
1c47cc7289
commit
03570f85f2
2 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
|
|||
|
||||
%init %{
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus) && ! defined(XSPROTO)
|
||||
extern "C"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue