Add back NIOS2 double conversion detection to fix compile errors

The commit
558324f672

removed the nios2 support, which was originally added in
e7b91e8125

This commit add it back.

Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Julien Olivain 2022-03-12 10:34:04 +01:00
parent a0403928b3
commit 13e2199827

View File

@ -102,7 +102,8 @@ int main(int argc, char** argv) {
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
defined(__riscv) || \ defined(__riscv) || \
defined(__or1k__) || defined(__arc__) || \ defined(__or1k__) || defined(__arc__) || \
defined(__EMSCRIPTEN__) defined(__EMSCRIPTEN__) || \
defined(nios2) || defined(__nios2) || defined(__nios2__)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
#elif defined(__mc68000__) || \ #elif defined(__mc68000__) || \
defined(__pnacl__) || defined(__native_client__) defined(__pnacl__) || defined(__native_client__)