Revision: 76 http://trac.macosforge.org/projects/smartcardservices/changeset/76 Author: ludovic.rousseau@gmail.com Date: 2009-12-18 00:22:08 -0800 (Fri, 18 Dec 2009) Log Message: ----------- remove the deprecated warning on LPTSTR and LPCTSTR since they are the documented types for Windows WinSCard API This will remove compilation warnings on cross OS applications Modified Paths: -------------- trunk/SmartCardServices/src/PCSC/wintypes.h Modified: trunk/SmartCardServices/src/PCSC/wintypes.h =================================================================== --- trunk/SmartCardServices/src/PCSC/wintypes.h 2009-12-18 08:12:59 UTC (rev 75) +++ trunk/SmartCardServices/src/PCSC/wintypes.h 2009-12-18 08:22:08 UTC (rev 76) @@ -74,18 +74,8 @@ /* these types are 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 - ; + typedef char *LPTSTR ; + typedef const char *LPCTSTR ; typedef char *LPCWSTR #ifdef __GNUC__ /* __attribute__ is a GCC only extension */