Commit 4dd1eff4 by Nicolas Capens Committed by Nicolas Capens

Work around stlport build bug.

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/11270Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 99cb565a
......@@ -16,6 +16,7 @@
#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
......
......@@ -18,7 +18,7 @@
#include "Nucleus.hpp"
#include "Routine.hpp"
#include <assert.h>
#include <cassert>
#include <cstddef>
#include <cwchar>
#undef Bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment