diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-13 09:24:14 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-13 09:24:14 +0100 |
| commit | 58deba64173679253e72495451853a668baf2452 (patch) | |
| tree | 7f47e908c823503c42b371ea849c727f003b7d0c /src | |
| parent | 2a38070d44ed01753c51067bbd7f007e4b74bd6b (diff) | |
| download | nissy-core-58deba64173679253e72495451853a668baf2452.tar.gz nissy-core-58deba64173679253e72495451853a668baf2452.zip | |
Correct OS detection for sleep function
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils/sleep.h | 4 |
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 | ||
| 3 | STATIC void msleep(int); | 3 | STATIC 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 | ||
