[lldb-dev] apples, pears etc: how to use __builtin_availability() elsewhere?

2018-09-13 Thread René J . V . Bertin via lldb-dev
Hi, clang has this nice runtime OS version checker but I cannot seem to find if this is useable anywhere except on Apple OSes. For ObjC (and thus @available()) one can still argue that the language isn't of much use anywhere else, but that (lousy) argument doesn't fly for__builtin_available() .

Re: [lldb-dev] apples, pears etc: how to use __builtin_availability() elsewhere?

2018-09-13 Thread Davide Italiano via lldb-dev
On Thu, Sep 13, 2018 at 2:56 AM René J.V. Bertin via lldb-dev wrote: > > Hi, > > clang has this nice runtime OS version checker but I cannot seem to find if > this is useable anywhere except on Apple OSes. > For ObjC (and thus @available()) one can still argue that the language isn't > of much u