diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-03-16 17:46:46 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-03-16 17:46:46 -0700 |
commit | 3245c24d1fd59c2d4a969570743f764022eb5033 (patch) | |
tree | 29ddc0ece0da6fab8c6045ff46401df1104235e8 /src/compiler-support.h | |
parent | 41173e4fa1469a3b5a1d99da5f75148be89d5b9a (diff) | |
download | binaryen-3245c24d1fd59c2d4a969570743f764022eb5033.tar.gz binaryen-3245c24d1fd59c2d4a969570743f764022eb5033.tar.bz2 binaryen-3245c24d1fd59c2d4a969570743f764022eb5033.zip |
add Log2 and Pow2 support methods
Diffstat (limited to 'src/compiler-support.h')
-rw-r--r-- | src/compiler-support.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler-support.h b/src/compiler-support.h index 54dd61bc8..9e298b278 100644 --- a/src/compiler-support.h +++ b/src/compiler-support.h @@ -32,6 +32,7 @@ #elif defined(_MSC_VER) # define WASM_UNREACHABLE() __assume(false) #else +# include <stdlib.h> # define WASM_UNREACHABLE() abort() #endif |