mdbx-test: initial OSX support.

This commit is contained in:
Leonid Yuriev
2019-08-13 02:12:13 +03:00
parent 054a88c502
commit 3f64d45819
6 changed files with 44 additions and 13 deletions

View File

@@ -17,6 +17,9 @@
#if defined(HAVE_IEEE754_H) || __has_include(<ieee754.h>)
#include <ieee754.h>
#endif
#if defined(__APPLE__) || defined(__MACH__)
#include <mach/mach_time.h>
#endif /* defined(__APPLE__) || defined(__MACH__) */
std::string format(const char *fmt, ...) {
va_list ap, ones;