Skip to content

Commit 0ca5e0b

Browse files
committed
Do not disable overloads for XMVECTOR for GNUC/clang when building with no-intrinsics (microsoft#141)
1 parent 3734bc9 commit 0ca5e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Inc/DirectXMath.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
#define _XM_SVML_INTRINSICS_
9494
#endif
9595

96-
#if !defined(_XM_NO_XMVECTOR_OVERLOADS_) && (defined(__clang__) || defined(__GNUC__))
96+
#if !defined(_XM_NO_XMVECTOR_OVERLOADS_) && (defined(__clang__) || defined(__GNUC__)) && !defined(_XM_NO_INTRINSICS_)
9797
#define _XM_NO_XMVECTOR_OVERLOADS_
9898
#endif
9999

0 commit comments

Comments
 (0)