On Fri, Apr 20, 2012 at 6:37 AM, Philipp Kursawe <[email protected]>wrote:

> Hello,
>
> I wonder why there was a new define introduced for wrapping Windows 8 WinRT
> code parts? SQLite uses SQLITE_OS_WINRT.
> But the VC compiler already defines _WINRT_DLL for WinRT DLL projects or
> "WINAPI_FAMILY=WINAPI_FAMILY_APP" in general if you compile with the Metro
> compiler setting.
>
> What's the reason for the new define?
>

Because

     #if SQLITE_OS_WINRT

is much easier to read and understand than

     #if defined(_WINRT_DLL) || WINAPI_FAMILY=WINAPI_FAMILY_APP


>
> Thanks,
> Phil
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to