mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
CommonFuncs: Remove SLEEP macro
There's already a function in Thread for this.
This commit is contained in:
parent
4218fb4eea
commit
a11ae2cf30
6 changed files with 9 additions and 16 deletions
|
@ -4,13 +4,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#ifdef _WIN32
|
||||
#define SLEEP(x) Sleep(x)
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#define SLEEP(x) usleep(x*1000)
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <libkern/OSByteOrder.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue