mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-21 16:15:13 -04:00
Make Sleep function static on linux to avoid compile errors
This commit is contained in:
1 parent
1db45f2cf2
commit
74bcfbd940
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@
|
||||
#else
|
||||
#include <unistd.h>
|
||||
|
||||
void Sleep(unsigned int milliseconds)
|
||||
static void Sleep(unsigned int milliseconds)
|
||||
{
|
||||
usleep(1000 * milliseconds);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user