Merge pull request #158 from GraxRabble/emscripten

prevented 128 bit integers from compiling with emscripten
This commit is contained in:
Frank Denis 2014-05-20 21:32:51 -07:00
commit fb5390e829

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) {