Fix Windows build with MinGW-w64's gcc-4.8.0
authorSteve Hay <steve.m.hay@googlemail.com>
Fri, 2 May 2014 16:34:40 +0000 (17:34 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Sat, 3 May 2014 14:18:32 +0000 (15:18 +0100)
commitf974e9b91d22c1ef2d849ded64674df4f1b18bad
tree2d6f307ce74c338f5ab4091a989bfa509383ae0d
parentffe2b5e6f0700787c6cd4bda0f9fe0d42978360e
Fix Windows build with MinGW-w64's gcc-4.8.0

The use of #defines like this:

#define ERROR_IPSEC_IKE_PROCESS_ERR_ID __MSABI_LONG(13834)
#define __MSABI_LONG(x)  x ## l

in new MinGW-w64 header files trips up Errno_pm.PL, causing hundreds of
warnings like this:

Bareword found where operator expected at (eval 22) line 1, near "13834l"
        (Missing operator before l?)

and hundreds of error values to go missing from Errno.pm.

This patch, from perl #121773, fixes that.
ext/Errno/Errno_pm.PL