Skip to content

Commit cc452aa

Browse files
committed
linkage
1 parent f21fd9f commit cc452aa

File tree

1 file changed

+8
-4
lines changed
  • SPOUTSDK/SpoutDirectX/SpoutDX/Tutorial04_Lib/include

1 file changed

+8
-4
lines changed

SPOUTSDK/SpoutDirectX/SpoutDX/Tutorial04_Lib/include/SpoutCommon.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,18 @@
8989
// For ARM build
9090
// __movsd intrinsic not defined
9191
//
92-
#if defined _M_ARM64
92+
#ifdef _M_ARM64
9393
#include <memory.h>
94+
#ifdef __cplusplus
95+
extern "C" {
96+
#endif
9497
inline void __movsd(unsigned long* Destination,
95-
const unsigned long* Source, size_t Count)
98+
unsigned long const* Source, size_t Count)
9699
{
97100
memcpy(Destination, Source, Count);
98101
}
102+
#ifdef __cplusplus
103+
}
104+
#endif
99105
#endif
100-
101-
102106
#endif

0 commit comments

Comments
 (0)