[Pcsclite-cvs-commit] r2537 - trunk/PCSC/src/PCSC
rousseau at alioth.debian.org
rousseau at alioth.debian.org
Tue May 22 15:02:27 UTC 2007
Author: rousseau
Date: 2007-05-22 15:02:26 +0000 (Tue, 22 May 2007)
New Revision: 2537
Modified:
trunk/PCSC/src/PCSC/wintypes.h
Log:
LPTSTR and LPCTSTR types are no more deprecated since they are found in
many applications. And using them is not a problem.
Modified: trunk/PCSC/src/PCSC/wintypes.h
===================================================================
--- trunk/PCSC/src/PCSC/wintypes.h 2007-05-22 14:45:57 UTC (rev 2536)
+++ trunk/PCSC/src/PCSC/wintypes.h 2007-05-22 15:02:26 UTC (rev 2537)
@@ -47,20 +47,10 @@
typedef DWORD *LPDWORD;
typedef char *LPSTR;
- /* this type is deprecated but still used by old drivers and applications
- * You should use LPSTR instead */
- typedef char *LPTSTR
-#ifdef __GNUC__
- /* __attribute__ is a GCC only extension */
- __attribute__ ((deprecated))
-#endif
- ;
- typedef const char *LPCTSTR
-#ifdef __GNUC__
- /* __attribute__ is a GCC only extension */
- __attribute__ ((deprecated))
-#endif
- ;
+ /* these types were deprecated but still used by old drivers and
+ * applications. So just declare and use them. */
+ typedef LPSTR LPTSTR;
+ typedef LPCSTR LPCTSTR;
#else
#include <windows.h>
More information about the Pcsclite-cvs-commit
mailing list