From a777887251f4baf3bb26fa10d805224713fcd0c8 Mon Sep 17 00:00:00 2001 From: Billy Robert O'Neal III Date: Fri, 2 Oct 2026 12:43:18 -0700 Subject: [PATCH] Move outside namespace FastPForLib. --- headers/ztimer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/headers/ztimer.h b/headers/ztimer.h index 46441f9..5b87ede 100644 --- a/headers/ztimer.h +++ b/headers/ztimer.h @@ -8,6 +8,11 @@ #include "common.h" +#ifdef _WIN32 +#define NOMINMAX +#define WINDOWS_LEAN_AND_MEAN +#include + namespace FastPForLib { // @@ -18,11 +23,6 @@ namespace FastPForLib { // Implementation has been taken from a post on stackoverflow and adapted here // http://stackoverflow.com/questions/13263277/difference-between-stdsystem-clock-and-stdsteady-clock // -#ifdef _WIN32 -#define NOMINMAX -#define WINDOWS_LEAN_AND_MEAN -#include - struct qpc_clock { typedef std::chrono::nanoseconds duration; typedef duration::rep rep;