Permalink
Browse files

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

git-svn-id: https://svn.macosforge.org/repository/smartcardservices/trunk@76 6beaa694-74da-4ea8-86b6-2f242058810b
  • Loading branch information...
1 parent 2144ae1 commit b3e757f64774194ad42403aa63c346e594f58622 Ludovic Rousseau committed Dec 18, 2009
Showing with 2 additions and 12 deletions.
  1. +2 −12 SmartCardServices/src/PCSC/wintypes.h
@@ -74,18 +74,8 @@ extern "C"
/* 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 */

0 comments on commit b3e757f

Please sign in to comment.