[ox] Fix GBA compile errors

This commit is contained in:
Gary Talent 2019-10-28 00:40:56 -05:00
parent bae1908c3b
commit 4f81c47734
3 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@ MetalClawReader::~MetalClawReader() {
if (m_parent) {
m_parent->m_buffIt += m_buffIt;
}
oxAssert(m_field == m_fields, "MetalClawReader: incorrect fields number given");
//oxAssert(m_field == m_fields, "MetalClawReader: incorrect fields number given");
}
Error MetalClawReader::field(const char*, int8_t *val) {

View File

@ -18,6 +18,7 @@
#define OxError(x) static_cast<ox::Error>(x)
#endif
#define oxIgnoreError(x)
#define oxReturnError(x) if (const auto _err = ox::error::toError(x)) return _err
namespace ox {

View File

@ -13,7 +13,7 @@
#if __has_include(<cstring>)
#include<cstring>
#else
void *memcpy(void *dest, const void *src, std::size_t size);
extern "C" void *memcpy(void *dest, const void *src, std::size_t size);
#endif
int ox_memcmp(const void *ptr1, const void *ptr2, std::size_t size) noexcept;