Older versions of Android using stlport were failing to compile with an
"assert has been defined before inclusion of assert.h header" error.
Change-Id: If8e13eb08c35a34d082d99f8f57188bc55697f59
Reviewed-on: https://swiftshader-review.googlesource.com/11270
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
#define DebugAndroid_hpp
#include <cutils/log.h>
+#include <cassert>
// On Android Virtual Devices we heavily depend on logging, even in
// production builds. We do this because AVDs are components of larger
#include "Nucleus.hpp"
#include "Routine.hpp"
-#include <assert.h>
+#include <cassert>
#include <cstddef>
#include <cwchar>
#undef Bool