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

_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com

Reply via email to