diff options
author | MITSUNARI Shigeo <[email protected]> | 2017-05-25 04:33:39 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2017-05-25 04:33:39 +0900 |
commit | 675ebd5c3555264325dd09ced304c214aaf68783 (patch) | |
tree | a0051365fc93f0cef75f9b45ec6d58bf016e3872 | |
parent | d3a9ce87566f97eb311323a281948e908288bc9f (diff) | |
download | xbyak-675ebd5c3555264325dd09ced304c214aaf68783.tar.gz xbyak-675ebd5c3555264325dd09ced304c214aaf68783.zip |
undef jnl if Bessel function is defined as macro
-rw-r--r-- | readme.md | 1 | ||||
-rw-r--r-- | xbyak/xbyak.h | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -311,6 +311,7 @@ Macro * **XBYAK64_GCC** is defined on 64bit gcc, cygwin * define **XBYAK_NO_OP_NAMES** on gcc without `-fno-operator-names` * define **XBYAK_ENABLE_OMITTED_OPERAND** if you use omitted destination such as `vaddps(xmm2, xmm3);`(duplicated in the future) +* define **XBYAK_UNDEF_JNL** if Bessel function jnl is defined as macro Sample ------------- diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index ba7e48d..08ea7e6 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -2372,6 +2372,9 @@ public: } #endif +#ifdef XBYAK_UNDEF_JNL + #undef jnl +#endif #ifndef XBYAK_DONT_READ_LIST #include "xbyak_mnemonic.h" void align(int x = 16) |