git: pthread.h: Fix prototypes.

看板DFBSD_commit作者時間15年前 (2011/01/08 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b109444e4e9277019359e8e7d8e87b979ef01639 Author: Peter Avalos <pavalos@dragonflybsd.org> Date: Fri Jan 7 15:36:38 2011 -1000 pthread.h: Fix prototypes. We need to remove the condition of _POSIX_THREAD_PROCESS_SHARED for the pshared prototypes. Otherwise, programs have to include unistd.h (to get the definition of _POSIX_THREAD_PROCESS_SHARED) before pthread.h. This is not the way to do things. This fixes at least kde4, and I'm sure there's others. Summary of changes: include/pthread.h | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b109444e4e9277019359e8e7d8e87b979ef01639 -- DragonFly BSD source repository
文章代碼(AID): #1D9yLZys (DFBSD_commit)