Skip to content

Commit 3dcffb5

Browse files
committed
Need <compare>
1 parent 5b36b3c commit 3dcffb5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Inc/DirectXMath.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@
171171
#define XM_ALIGNED_STRUCT(x) __declspec(align(x)) struct
172172
#endif
173173

174+
#if (__cplusplus >= 202002L)
175+
#include <compare>
176+
#endif
177+
174178
/****************************************************************************
175179
*
176180
* Conditional intrinsics

0 commit comments

Comments
 (0)