diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-08-21 14:55:28 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-08-21 14:55:28 +0200 |
commit | 45fef53488278d882a5b00bace266de60a7993e9 (patch) | |
tree | 8193068a77cbe3e8662c3299e05a218265092d2f | |
parent | 94663e6b0c2060e492314126f4f83778d1fcded5 (diff) | |
download | perl-45fef53488278d882a5b00bace266de60a7993e9.tar.gz |
Fix C++ build following commit ab1478f7146843f7.
For C++, ab1478f7146843f7 inadvertently defined XS_INTERNAL as
extern "C" static ...
which C++ compilers rightfully choke on.
-rw-r--r-- | XSUB.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ is a lexical $_ in scope. # else # ifdef __cplusplus # define XS_EXTERNAL(name) extern "C" XSPROTO(name) -# define XS_INTERNAL(name) extern "C" STATIC XSPROTO(name) +# define XS_INTERNAL(name) static XSPROTO(name) # else # define XS_EXTERNAL(name) XSPROTO(name) # define XS_INTERNAL(name) STATIC XSPROTO(name) |