re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread)
gcc/ChangeLog: PR other/4372 * gthr-dce.h, gthr-posix.h, gthr-posix95.h, gthr-solaris.h, gthr-tpf.h: Define __gthrw. For all identifiers that might be weak, introduce weakrefs or non-weak aliases with __gthrw, and prefix all uses with __ghtrw. libobjc/ChangeLog: PR other/4372 * thr-objc.c (_XOPEN_SOURCE): Define. From-SVN: r106704
This commit is contained in:
parent
a0203ca711
commit
7ef67393c7
8 changed files with 347 additions and 277 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-09 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR other/4372
|
||||
* thr-objc.c (_XOPEN_SOURCE): Define.
|
||||
|
||||
2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
PR libobjc/23612
|
||||
|
|
|
@ -24,6 +24,10 @@ Boston, MA 02110-1301, USA. */
|
|||
covered by the GNU General Public License. */
|
||||
|
||||
#define _LIBOBJC
|
||||
/* The line below is needed for declarations of functions such as
|
||||
pthread_mutexattr_settype, without which gthr-posix.h may fail to
|
||||
compile within libobjc. */
|
||||
#define _XOPEN_SOURCE 500
|
||||
#include "config.h"
|
||||
#include "tconfig.h"
|
||||
#include "coretypes.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue