remove uv.h dependency in util/time.hpp
This commit is contained in:
13
src/util/time.cpp
Normal file
13
src/util/time.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <mbgl/util/time.hpp>
|
||||
|
||||
#include <uv.h>
|
||||
|
||||
namespace mbgl {
|
||||
namespace util {
|
||||
|
||||
timestamp now() {
|
||||
return uv_hrtime();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user