From fc951c83a03a8123dce1cd2eb23fffbe099e1102 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 26 Jul 2011 15:15:32 +0200 Subject: In makedef.pl, remove duplicate symbols passed to try_symbols() for OS/2. Code to try the 4 thread-specific symbols was added in 2003 by commit 5c728af092d5feba. However, all 4 symbols were already listed in makedef.pl, added in 1999 by commit 3cfae81b38bc8edd. (Unlike other platforms, on OS/2 adding symbols to %export that aren't actually compiled in does not cause errors, as there is code later in makedef.pl to read in miniperl.map, and strip from %export all symbols not listed there.) --- makedef.pl | 7 ------- 1 file changed, 7 deletions(-) (limited to 'makedef.pl') diff --git a/makedef.pl b/makedef.pl index 19e84dfdde..2871643b06 100644 --- a/makedef.pl +++ b/makedef.pl @@ -316,13 +316,6 @@ if ($PLATFORM eq 'os2') { CroakWinError PL_do_undump )); - try_symbols(qw( - os2_cond_wait - pthread_join - pthread_create - pthread_detach - )) - if $define{'USE_5005THREADS'} or $define{'USE_ITHREADS'}; } elsif ($PLATFORM eq 'vms') { try_symbols(qw( -- cgit v1.2.1