Set _THREAD_SAFE preprocessor symbol when the -pthread option is used,
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 8 Aug 2003 04:11:06 +0000 (04:11 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 8 Aug 2003 04:11:06 +0000 (04:11 +0000)
commit0a7efae9079a31766c5db61ae1b23f2b94913eea
tree89d44dab3ce077e40db2561557849bde391f49c1
parente5d182093441be5577b4e67bf094daebc1118e0e
Set _THREAD_SAFE preprocessor symbol when the -pthread option is used,
solves a concurrency problem with libc's stdio.h when inline macros
(like putchar()) are used.
contrib/gcc/config/freebsd.h