From: Peter Rabbitson Date: Thu, 11 Nov 2010 02:40:51 +0000 (+0100) Subject: Enable C::XSA on win32 until proven problematic X-Git-Tag: 0.009001~37 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6e294299fc073b6ef7ffa4e0921a936afba4118d;p=gitmo%2FMoo.git Enable C::XSA on win32 until proven problematic --- diff --git a/lib/Method/Generate/Accessor.pm b/lib/Method/Generate/Accessor.pm index 3a5ccd6..adb87f8 100644 --- a/lib/Method/Generate/Accessor.pm +++ b/lib/Method/Generate/Accessor.pm @@ -6,9 +6,11 @@ use base qw(Moo::Object); use Sub::Quote; use B 'perlstring'; BEGIN { - our $CAN_HAZ_XS = ($^O ne 'Win32') - && _maybe_load_module('Class::XSAccessor') - && (Class::XSAccessor->VERSION > 1.06); + our $CAN_HAZ_XS = + _maybe_load_module('Class::XSAccessor') + && + (Class::XSAccessor->VERSION > 1.06) + ; } sub generate_method {