[Pcsclite-cvs-commit] r1658 - trunk/PCSC/src
Ludovic Rousseau
rousseau at costa.debian.org
Mon Sep 19 08:05:13 UTC 2005
Author: rousseau
Date: 2005-09-19 08:05:12 +0000 (Mon, 19 Sep 2005)
New Revision: 1658
Modified:
trunk/PCSC/src/misc.h
Log:
use __attribute__ ... only for GCC
Modified: trunk/PCSC/src/misc.h
===================================================================
--- trunk/PCSC/src/misc.h 2005-09-19 07:12:11 UTC (rev 1657)
+++ trunk/PCSC/src/misc.h 2005-09-19 08:05:12 UTC (rev 1658)
@@ -23,7 +23,11 @@
*
* see http://gcc.gnu.org/onlinedocs/gcc-3.3.5/gcc/Function-Attributes.html#Function-Attributes
*/
+#ifdef __GCC__
#define INTERNAL __attribute__ ((visibility("hidden")))
+#else
+#define INTERNAL
+#endif
#ifdef __cplusplus
}
More information about the Pcsclite-cvs-commit
mailing list