Auto-update dispenso to v1.2.0 (#3661)
* Update dispenso to v1.2.0 * remove /WX * patch namespace --------- Co-authored-by: star9029 <hengxings783@gmail.com>pull/3669/head
parent
4e72de271c
commit
934e01a034
2 changed files with 26 additions and 0 deletions
@ -0,0 +1,22 @@ |
||||
diff --git a/dispenso/detail/quanta.cpp b/dispenso/detail/quanta.cpp
|
||||
index fbab069..a587e86 100644
|
||||
--- a/dispenso/detail/quanta.cpp
|
||||
+++ b/dispenso/detail/quanta.cpp
|
||||
@@ -5,12 +5,15 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
+#ifdef _WIN32
|
||||
+#include <Windows.h>
|
||||
+#include <timeapi.h>
|
||||
+#endif
|
||||
+
|
||||
#include <dispenso/detail/quanta.h>
|
||||
|
||||
namespace dispenso {
|
||||
#ifdef _WIN32
|
||||
-#include <Windows.h>
|
||||
-#include <timeapi.h>
|
||||
|
||||
namespace {
|
||||
struct OsQuantaSetter {
|
Loading…
Reference in new issue