Warning shutdowns, by Robin Barker
Rafael Garcia-Suarez [Wed, 28 Nov 2007 20:27:55 +0000 (20:27 +0000)]
p4raw-id: //depot/perl@32539

ext/POSIX/Makefile.PL

index 0c5bc8c..bd93e59 100644 (file)
@@ -67,9 +67,9 @@ my @names =
    {name=>"MB_CUR_MAX", not_constant=>1},
    {name=>"EXIT_FAILURE", default=>["IV", "1"]},
    {name=>"EXIT_SUCCESS", default=>["IV", "0"]},
-   {name=>"SIG_DFL", value=>"(IV)SIG_DFL", not_constant=>1},
-   {name=>"SIG_ERR", value=>"(IV)SIG_ERR", not_constant=>1},
-   {name=>"SIG_IGN", value=>"(IV)SIG_IGN", not_constant=>1},
+   {name=>"SIG_DFL", value=>"PTR2IV(SIG_DFL)", not_constant=>1},
+   {name=>"SIG_ERR", value=>"PTR2IV(SIG_ERR)", not_constant=>1},
+   {name=>"SIG_IGN", value=>"PTR2IV(SIG_IGN)", not_constant=>1},
    # L_tmpnam[e] was a typo--retained for compatibility
    {name=>"L_tmpname", value=>"L_tmpnam"},
    {name=>"NULL", value=>"0"},