Exclude e2k/arm64/mips64 from the polygonBlock and brushBlock assertions

This commit is contained in:
r-a-sattarov 2021-03-11 22:21:30 +03:00
parent 0f6b6f53b3
commit 3e08e14b9e
2 changed files with 3 additions and 3 deletions

View file

@ -3653,7 +3653,7 @@ cm_model_t* idCollisionModelManagerLocal::LoadBinaryModelFromFile( idFile* file,
assert( model->polygonRefBlocks == NULL || ( model->polygonRefBlocks->next == NULL && model->polygonRefBlocks->nextRef == NULL ) );
// RB: FIXME
#if !defined(__x86_64__) && !defined(_WIN64) && !defined(__PPC64__)
#if !defined(__x86_64__) && !defined(_WIN64) && !defined(__PPC64__) && !defined(__e2k__) && !defined(__aarch64__) && !(defined(__mips64) || defined(__mips64_))
assert( model->polygonBlock->bytesRemaining == 0 );
assert( model->brushBlock->bytesRemaining == 0 );
#endif

View file

@ -121,9 +121,9 @@ If you have questions concerning this license or the applicable additional terms
#define CPUSTRING "ppc64"
#elif defined(__mips64) || defined(__mips64_)
#define CPUSTRING "mips64"
#elif defined(__riscv) || defined(__riscv__)
#elif defined(__riscv__) || defined(__riscv)
#define CPUSTRING "riscv"
#elif defined(__sparc__) || defined(__sparc__)
#elif defined(__sparc__) || defined(__sparc)
#define CPUSTRING "sparc"
#else
#error unknown CPU