Silence new warning grep in void context warning in various modules and test files...
[p5sagit/p5-mst-13.2.git] / 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"},