From ccf915dc149afbcd4bb18ffd89a426114abca110 Mon Sep 17 00:00:00 2001 From: GraxRabble Date: Tue, 20 May 2014 13:53:31 -0400 Subject: [PATCH] prevented 128 bit integers from compiling with emscripten --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index ff165530..848b2a7d 100644 --- a/configure.ac +++ b/configure.ac @@ -339,6 +339,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #ifndef NATIVE_LITTLE_ENDIAN # error donna_c64 currently requires a little endian CPU #endif +#ifdef EMSCRIPTEN +# error emscripten currently supports only shift operations on integers \ +# larger than 64 bits +#endif #include typedef unsigned uint128_t __attribute__((mode(TI))); void fcontract(uint128_t *t) {