[Pcsclite-cvs-commit] r1823 - trunk/PCSC/src
Ludovic Rousseau
rousseau at costa.debian.org
Tue Jan 24 12:44:45 UTC 2006
Author: rousseau
Date: 2006-01-24 12:44:45 +0000 (Tue, 24 Jan 2006)
New Revision: 1823
Modified:
trunk/PCSC/src/misc.h
Log:
define PCSC_API as a way to export a symbol
Modified: trunk/PCSC/src/misc.h
===================================================================
--- trunk/PCSC/src/misc.h 2006-01-24 12:43:17 UTC (rev 1822)
+++ trunk/PCSC/src/misc.h 2006-01-24 12:44:45 UTC (rev 1823)
@@ -26,11 +26,14 @@
*/
#if defined __GNUC__
#define INTERNAL __attribute__ ((visibility("hidden")))
+#define PCSC_API __attribute__ ((visibility("default")))
/* http://docs.sun.com/source/817-6697/sun.specific.html#marker-998544 */
#elif defined __SUNPRO_C
#define INTERNAL __hidden
+#define PCSC_API
#else
#define INTERNAL
+#define PCSC_API
#endif
#if defined __GNUC__
More information about the Pcsclite-cvs-commit
mailing list