PCSC-lite 1.8.8 wintypes.h typedef for LPCTSTR missing on Mac OS
Russell Rezaian <[email protected]>
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <[email protected]> |
Hello, I was just recently trying to compile the Global Platform 6.0.0 libraries on a Mac (OSX 10.7.4) and ran into a compile time error where LPCTSTR was reported as not defined. After a little investigation, the Global Platform code is including PCSC/wintypes.h which should define LPCTSTR (and which does define LPCTSTR for non-Apple platforms). However, in the 1.8.8 version of PCSC-lite wintypes.h there is an ifdef for __APPLE__ and the defines for LPTSTR and LPCTSTR are only in the non-__APPLE__ else block. I think this might be a bug. I added the two missing typdefs back into the earlier ifdef block and things seem compile properly. I know these two defines are not used in the current PCSC-lite, but since some code does seem to still use them, I thought it might be worth reporting this. Hopefully this is a useful level of detail. I can provide more details (and diffs) if requested. Thanks! -- Russell