[AOLSERVER-COMMITS] aolserver/include ns.h, 1.94, 1.95 nsthread.h, 1.32, 1.33

1 view
Skip to first unread message

Jeff Rogers

unread,
Sep 17, 2012, 2:38:27 PM9/17/12
to aolserve...@lists.sourceforge.net
Update of /cvsroot/aolserver/aolserver/include
In directory vz-cvs-4.sog:/tmp/cvs-serv15977/include

Modified Files:
ns.h nsthread.h
Log Message:
Change NS_EXPORT to use gcc visibility attributes so that -fvisibility=hidden
doesn't hide all library symbols


Index: ns.h
===================================================================
RCS file: /cvsroot/aolserver/aolserver/include/ns.h,v
retrieving revision 1.94
retrieving revision 1.95
diff -C2 -d -r1.94 -r1.95
*** ns.h 26 Oct 2011 06:20:15 -0000 1.94
--- ns.h 17 Sep 2012 18:38:25 -0000 1.95
***************
*** 237,241 ****
#define INVALID_SOCKET (-1)
#define SOCKET_ERROR (-1)
- #define NS_EXPORT
#define ns_sockclose close
#define ns_socknbclose close
--- 237,240 ----

Index: nsthread.h
===================================================================
RCS file: /cvsroot/aolserver/aolserver/include/nsthread.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** nsthread.h 24 Dec 2009 19:50:06 -0000 1.32
--- nsthread.h 17 Sep 2012 18:38:25 -0000 1.33
***************
*** 47,51 ****
#define NS_IMPORT __declspec(dllimport)
#else
! #define NS_EXPORT
#define NS_IMPORT
#ifndef _REENTRANT
--- 47,55 ----
#define NS_IMPORT __declspec(dllimport)
#else
! # if __GNUC__ >= 4
! # define NS_EXPORT __attribute__ ((visibility ("default")))
! # else
! # define NS_EXPORT
! # endif /* __GNUC__ >= 4 */
#define NS_IMPORT
#ifndef _REENTRANT


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
aolserver-commits mailing list
aolserve...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-commits
Reply all
Reply to author
Forward
0 new messages