mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 22:39:01 +08:00
21 lines
521 B
Diff
21 lines
521 B
Diff
|
diff --git a/ou/include/ou/atomic.h b/ou/include/ou/atomic.h
|
||
|
index 2f90a70..33e0ab9 100644
|
||
|
--- a/ou/include/ou/atomic.h
|
||
|
+++ b/ou/include/ou/atomic.h
|
||
|
@@ -397,6 +397,7 @@ END_NAMESPACE_OU();
|
||
|
|
||
|
#include <windows.h>
|
||
|
#include <stddef.h>
|
||
|
+#include <intrin.h>
|
||
|
|
||
|
|
||
|
BEGIN_NAMESPACE_OU();
|
||
|
@@ -574,7 +575,6 @@ static _OU_ALWAYSINLINE bool _OU_CONVENTION_API
|
||
|
|
||
|
#define __OU_ATOMIC_READREORDERBARRIER_FUNCTION_DEFINED
|
||
|
|
||
|
-#include <intrin.h>
|
||
|
|
||
|
static _OU_ALWAYSINLINE void _OU_CONVENTION_API
|
||
|
/*void */AtomicReadReorderBarrier()
|