package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
479 B
23 lines
479 B
8 months ago
|
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 {
|