prevented 128 bit integers from compiling with emscripten

This commit is contained in:
GraxRabble 2014-05-20 13:53:31 -04:00
parent 5720b23491
commit ccf915dc14

View File

@ -339,6 +339,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#ifndef NATIVE_LITTLE_ENDIAN #ifndef NATIVE_LITTLE_ENDIAN
# error donna_c64 currently requires a little endian CPU # error donna_c64 currently requires a little endian CPU
#endif #endif
#ifdef EMSCRIPTEN
# error emscripten currently supports only shift operations on integers \
# larger than 64 bits
#endif
#include <stdint.h> #include <stdint.h>
typedef unsigned uint128_t __attribute__((mode(TI))); typedef unsigned uint128_t __attribute__((mode(TI)));
void fcontract(uint128_t *t) { void fcontract(uint128_t *t) {