svn commit: samba r14294 - in branches/SAMBA_4_0/source/include: .
tridge at samba.org
tridge at samba.org
Mon Mar 13 05:01:34 GMT 2006
Author: tridge
Date: 2006-03-13 05:01:34 +0000 (Mon, 13 Mar 2006)
New Revision: 14294
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14294
Log:
conditionally define _PUBLIC_, so you can disable it easily with -D_PUBLIC_=
Modified:
branches/SAMBA_4_0/source/include/includes.h
Changeset:
Modified: branches/SAMBA_4_0/source/include/includes.h
===================================================================
--- branches/SAMBA_4_0/source/include/includes.h 2006-03-13 05:00:45 UTC (rev 14293)
+++ branches/SAMBA_4_0/source/include/includes.h 2006-03-13 05:01:34 UTC (rev 14294)
@@ -36,11 +36,13 @@
/** Feel free to add definitions for other compilers here. */
#endif
+#ifndef _PUBLIC_
#ifdef HAVE_VISIBILITY_ATTR
# define _PUBLIC_ __attribute__((visibility("default")))
#else
# define _PUBLIC_
#endif
+#endif
#ifndef PRINTF_ATTRIBUTE
#if !defined(NO_PRINTF_ATTRIBUTE) && (__GNUC__ >= 3)
More information about the samba-cvs
mailing list