When using the NDK 13b toolchain standalone or with CMake, ANDROID is not defined, but __ANDROID__ is defined instead.
Error: expected unqualified-id before '(' token int fmt::BufferedFile::fileno() const { This is an issue with Android NDK and mingw32.