aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-08-13 09:24:14 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-08-13 09:24:14 +0100
commit58deba64173679253e72495451853a668baf2452 (patch)
tree7f47e908c823503c42b371ea849c727f003b7d0c
parent2a38070d44ed01753c51067bbd7f007e4b74bd6b (diff)
downloadnissy-core-58deba64173679253e72495451853a668baf2452.tar.gz
nissy-core-58deba64173679253e72495451853a668baf2452.zip
Correct OS detection for sleep function
Diffstat (limited to '')
-rw-r--r--src/utils/sleep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/sleep.h b/src/utils/sleep.h
index 7cdd081..7c0a84d 100644
--- a/src/utils/sleep.h
+++ b/src/utils/sleep.h
@@ -2,7 +2,9 @@
2 2
3STATIC void msleep(int); 3STATIC void msleep(int);
4 4
5#if defined(WIN32) 5#if defined(_WIN32)
6
7#include <windows.h>
6 8
7#define NISSY_CANSLEEP true 9#define NISSY_CANSLEEP true
8 10

Generated with cgit - Back to sebastiano.tronto.net