This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
avoid conflicting static / dllexport on legacy perls too
authorTony Cook <tony@develop-help.com>
Thu, 1 Dec 2011 10:37:42 +0000 (21:37 +1100)
committerTony Cook <tony@develop-help.com>
Thu, 1 Dec 2011 10:37:42 +0000 (21:37 +1100)
This probably fixes rt.cpan.org 72313 and 71964.

dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm

index 19bf9bd..b83e45b 100644 (file)
@@ -494,7 +494,7 @@ sub standard_XS_defs {
 #  undef XS_INTERNAL
 #  if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
 #    define XS_EXTERNAL(name) __declspec(dllexport) XSPROTO(name)
-#    define XS_INTERNAL(name) __declspec(dllexport) STATIC XSPROTO(name)
+#    define XS_INTERNAL(name) STATIC XSPROTO(name)
 #  endif
 #  if defined(__SYMBIAN32__)
 #    define XS_EXTERNAL(name) EXPORT_C XSPROTO(name)