avoid double defining the POSIX::TCSANOW constant sub
authorTony Cook <tony@develop-help.com>
Mon, 28 Nov 2011 07:18:25 +0000 (18:18 +1100)
committerTony Cook <tony@develop-help.com>
Mon, 28 Nov 2011 07:18:25 +0000 (18:18 +1100)
commite08f19f5d0717ead6e0fc25b4a866d9192e3deb1
treefe35750aacf29b16ab23aed0575c8b068051b2fa
parentce2077b184ce12e83580ca1d9686e4af75dc538a
avoid double defining the POSIX::TCSANOW constant sub

On Win32 which has no native TCSANOW definition this would produce:

Constant subroutine TCSANOW redefined at ../lib/POSIX.pm line -1.

because the macro wasn't defined when building the unknown symbols
table but was defined when building the defined symbols table.
ext/POSIX/POSIX.xs
ext/POSIX/lib/POSIX.pm