Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 60e265d

Browse files
st4rl3sspramodk
authored andcommitted
Fixed SWAP_ENDIAN_DISABLE_ASM error when using PGI (#138)
1 parent 85ef555 commit 60e265d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/endian/swap_endian_noasm.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ THE POSSIBILITY OF SUCH DAMAGE.
3131
*/
3232

3333
#define SWAP_ENDIAN_CONFIG DisableAsm
34+
35+
#ifndef SWAP_ENDIAN_DISABLE_ASM
3436
#define SWAP_ENDIAN_DISABLE_ASM
37+
#endif
3538

3639
#include "swap_endian_common.ipp"
3740

0 commit comments

Comments
 (0)