Can't it cause conflict?
Or the Windows types are defined by "portable" types... ?

Alon.

On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 11, 2008 at 10:50 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote:
>  > On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote:
>  >> This patch is needed (committed in revision 3603) because on Mac OS X
>  >>  winscard.h does not define (and does not use) the windows types DWORD,
>  >>  LONG, etc. and these types are used in internal-winscard.h
>  >
>  > Where does the wintypes.h comes from?
>
>
> /System/Library/Frameworks/PCSC.framework/Headers/wintypes.h
>
>
>  > Is it integral part of the framework?
>
>
> Yes. But it is not included by winscard.h. Apples do not use Windows
>  types but "portable" types. Example from winscard.h:
>
>     PCSC_API int32_t SCardConnect(SCARDCONTEXT hContext,
>         const char *szReader,
>         uint32_t dwShareMode,
>         uint32_t dwPreferredProtocols,
>         LPSCARDHANDLE phCard, uint32_t *pdwActiveProtocol);
>
>
>  --
>   Dr. Ludovic Rousseau
>
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to