Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/emulators/emulationstation/files/patch-es-app_src_ScraperCmdLine.cpp
18157 views
1
--- es-app/src/ScraperCmdLine.cpp.orig 2020-11-29 11:43:15 UTC
2
+++ es-app/src/ScraperCmdLine.cpp
3
@@ -5,17 +5,13 @@
4
#include "SystemData.h"
5
#include <iostream>
6
#include <signal.h>
7
-#if defined(__linux__)
8
#include <unistd.h>
9
-#elif defined(WIN32)
10
-#include <Windows.h>
11
-#endif
12
13
std::ostream& out = std::cout;
14
15
void handle_interrupt_signal(int /*p*/)
16
{
17
- sleep(50);
18
+ usleep(50);
19
20
LOG(LogInfo) << "Interrupt received during scrape...";
21
22
23