diff --git a/include/crow/json.h b/include/crow/json.h index ee1220fd1..46abccf68 100644 --- a/include/crow/json.h +++ b/include/crow/json.h @@ -1656,7 +1656,7 @@ namespace crow } else { -#if defined(__APPLE__) || defined(__MACH__) || defined (__FreeBSD__) +#if defined(__APPLE__) || defined(__MACH__) || defined (__FreeBSD__) || defined (__ANDROID__) o = std::unique_ptr(new object(initializer_list)); #else (*o) = initializer_list;