Merge pull request #158 from GraxRabble/emscripten
prevented 128 bit integers from compiling with emscripten
This commit is contained in:
commit
fb5390e829
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user