On 2016/04/20 5:14, Nils Ohlmeier wrote:

On Apr 18, 2016, at 09:56, Milan Sreckovic <msrecko...@mozilla.com> wrote:

What’s the “XP tax”?  Graphics usually tries to simplify the playing field as 
much as possible, but I can’t say that XP has been causing any trouble, or that 
we have been getting too many XP specific problems (certainly fewer than 
Windows 10 :)

Well as we still have to compile for XP there are certain API’s which we can’t 
use like here:
https://dxr.mozilla.org/mozilla-central/source/media/mtransport/third_party/nICEr/src/stun/addrs.c#228

The good news is that dxr does not find anything using IsXPSP3OrLater(). But 
this looks like we have a bit of version specific code in our tree:
https://dxr.mozilla.org/mozilla-central/search?q=XP_WIN&redirect=false&case=true

You should query using IsWin2003OrLater() instead.

Also, if we support Vista+ only, we can remove some LoadLibrary() to use Vista+ API.


-- Makoto

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to