diff options
author | Tony Cook <tony@develop-help.com> | 2011-12-01 19:00:53 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2011-12-01 19:18:22 +1100 |
commit | fe6ca73739d497d2f05e6d96f47b3d079fdc88fc (patch) | |
tree | 6db6d84010473cf5ae97abf413e59778f79daaf9 /XSUB.h | |
parent | 83504ee4bca9923131c46e631589a42c101dde7a (diff) | |
download | perl-fe6ca73739d497d2f05e6d96f47b3d079fdc88fc.tar.gz |
static and dllexport don't belong together on cygwin
This was causing build errors like:
Cwd.c:553:1: error: external linkage required for symbol ‘XS_Cwd_getcwd’ because of ‘dllexport’ attribute
Diffstat (limited to 'XSUB.h')
-rw-r--r-- | XSUB.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ is a lexical $_ in scope. #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) |