[Pcsclite-cvs-commit] r1822 - trunk/PCSC/src

Ludovic Rousseau rousseau at costa.debian.org
Tue Jan 24 12:43:18 UTC 2006


Author: rousseau
Date: 2006-01-24 12:43:17 +0000 (Tue, 24 Jan 2006)
New Revision: 1822

Modified:
   trunk/PCSC/src/misc.h
Log:
use __GNUC__ instead of __GCC__

see
http://gcc.gnu.org/onlinedocs/gcc-3.3.5/cpp/Common-Predefined-Macros.html


Modified: trunk/PCSC/src/misc.h
===================================================================
--- trunk/PCSC/src/misc.h	2006-01-24 10:38:09 UTC (rev 1821)
+++ trunk/PCSC/src/misc.h	2006-01-24 12:43:17 UTC (rev 1822)
@@ -22,8 +22,9 @@
  * not exported and can't be used by a program linked to the library
  *
  * see http://gcc.gnu.org/onlinedocs/gcc-3.3.5/gcc/Function-Attributes.html#Function-Attributes
+ * see http://www.nedprod.com/programs/gccvisibility.html
  */
-#if defined __GCC__
+#if defined __GNUC__
 #define INTERNAL __attribute__ ((visibility("hidden")))
 /* http://docs.sun.com/source/817-6697/sun.specific.html#marker-998544 */
 #elif defined __SUNPRO_C
@@ -32,7 +33,7 @@
 #define INTERNAL
 #endif
 
-#if defined __GCC__
+#if defined __GNUC__
 
 /* GNU Compiler Collection (GCC) */
 #define CONSTRUCTOR __attribute__ ((constructor))




More information about the Pcsclite-cvs-commit mailing list