diff options
Diffstat (limited to 'include/mbgl/map/map.hpp')
-rw-r--r-- | include/mbgl/map/map.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 7e4687ea6f..ab9775a8c9 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -146,10 +146,15 @@ public: private: // uv async callbacks +#if UV_VERSION_MAJOR == 0 && UV_VERSION_MINOR <= 10 static void render(uv_async_t *async, int status); static void terminate(uv_async_t *async, int status); static void cleanup(uv_async_t *async, int status); - static void delete_async(uv_handle_t *handle, int status); +#else + static void render(uv_async_t *async); + static void terminate(uv_async_t *async); + static void cleanup(uv_async_t *async); +#endif // Setup void setup(); |