-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters