> You mean defining then both GEOCLUE_API_VERSION_1 and GEOCLUE_API_VERSION_2, making them both available to the code (so we can disable one file or the other), right?
I mean to use neither of those, but to define WTF_USE_GEOCLUE2. Before one file you would do something like this:
(In reply to comment #43) /bugs.webkit. org/attachment. cgi?id= 225775& action= review
> (From update of attachment 225775 [details])
> View in context: https:/
>
> You mean defining then both GEOCLUE_ API_VERSION_ 1 and GEOCLUE_ API_VERSION_ 2, making them both available to the code (so we can disable one file or the other), right?
I mean to use neither of those, but to define WTF_USE_GEOCLUE2. Before one file you would do something like this:
#if ENABLE(GEOLOCATION) && !USE(GEOCLUE2)
and the other this:
#if ENABLE(GEOLOCATION) && USE(GEOCLUE2)