namespace.patch 479 B

12345678910111213141516171819202122
  1. diff --git a/dispenso/detail/quanta.cpp b/dispenso/detail/quanta.cpp
  2. index fbab069..a587e86 100644
  3. --- a/dispenso/detail/quanta.cpp
  4. +++ b/dispenso/detail/quanta.cpp
  5. @@ -5,12 +5,15 @@
  6. * LICENSE file in the root directory of this source tree.
  7. */
  8. +#ifdef _WIN32
  9. +#include <Windows.h>
  10. +#include <timeapi.h>
  11. +#endif
  12. +
  13. #include <dispenso/detail/quanta.h>
  14. namespace dispenso {
  15. #ifdef _WIN32
  16. -#include <Windows.h>
  17. -#include <timeapi.h>
  18. namespace {
  19. struct OsQuantaSetter {