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.
 
 
 

22 lines
479 B

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 {