[Pcsclite-cvs-commit] PCSC/src/PCSC wintypes.h,1.8,1.9

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/PCSC/src/PCSC
In directory haydn:/tmp/cvs-serv11027

Modified Files:
	wintypes.h 
Log Message:
add type LPSTR (again) so that "old" drivers and applications can compile
but mark it deprecated.

See http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Type-Attributes.html


Index: wintypes.h
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/PCSC/wintypes.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- wintypes.h	5 Jun 2004 15:43:11 -0000	1.8
+++ wintypes.h	6 Jul 2004 17:05:04 -0000	1.9
@@ -45,6 +45,10 @@
 	typedef DWORD *LPDWORD;
 	typedef char *LPTSTR;
 
+	/* this type is deprecated but still used by old drivers and applications
+	 * You should use LPTSTR instead */
+	typedef char *LPSTR __attribute__ ((deprecated));
+
 #else
 #include <windows.h>
 #endif