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

Ludovic Rousseau rousseau at costa.debian.org
Mon Sep 19 08:05:34 UTC 2005


Author: rousseau
Date: 2005-09-19 08:05:33 +0000 (Mon, 19 Sep 2005)
New Revision: 1659

Modified:
   trunk/PCSC/src/misc.h
Log:
define CONSTRUCTOR and DESTRUCTOR


Modified: trunk/PCSC/src/misc.h
===================================================================
--- trunk/PCSC/src/misc.h	2005-09-19 08:05:12 UTC (rev 1658)
+++ trunk/PCSC/src/misc.h	2005-09-19 08:05:33 UTC (rev 1659)
@@ -29,6 +29,14 @@
 #define INTERNAL
 #endif
 
+#ifdef __GCC__
+#define CONSTRUCTOR __attribute__ ((constructor))
+#define DESTRUCTOR __attribute__ ((destructor))
+#else
+#define CONSTRUCTOR
+#define DESTRUCTOR
+#endif
+
 #ifdef __cplusplus
 }
 #endif




More information about the Pcsclite-cvs-commit mailing list