DragonFly BSD
DragonFly commits List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: <sys/cdefs.h>: For C++, unhide our interfaces via __{BEGIN,END}_DECLS.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Mar 2012 07:42:49 -0700 (PDT)

commit a1671b4d6c66bceb629394590c46c15be034d14e
Author: Sascha Wildner <saw@online.de>
Date:   Sun Mar 11 13:50:29 2012 +0100

    <sys/cdefs.h>: For C++, unhide our interfaces via __{BEGIN,END}_DECLS.
    
    This follows up on a previous (pthread specific) commit by alexh
    (e7322b09faff75b1298e9bfe444633425d173536) that used a per-proto
    macro. Revert this commit, too. In principle, we do it like NetBSD
    now.
    
    See http://gcc.gnu.org/wiki/Visibility in the GCC wiki for details
    on the issue.
    
    This solution was suggested by Martin Husemann in a thread about
    xulrunner building issues:
    
    http://mail-index.netbsd.org/tech-pkg/2012/03/11/msg008680.html
    
    Reported-and-tested-by: marino and others

Summary of changes:
 include/pthread.h    |  202 +++++++++++++++++++++++++-------------------------
 include/pthread_np.h |   31 ++++----
 sys/sys/cdefs.h      |   24 +++---
 3 files changed, 129 insertions(+), 128 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a1671b4d6c66bceb629394590c46c15be034d14e


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]