diff --git a/src/hll/SystemService.c b/src/hll/SystemService.c index 35e5abe..7f3888b 100644 --- a/src/hll/SystemService.c +++ b/src/hll/SystemService.c @@ -295,6 +295,7 @@ static bool SystemService_IsExistPlayingManual(void) { return exists; } +#ifndef _WIN32 static char *percent_encode(const char *str) { const char *hex = "0123456789ABCDEF"; // Worst case all characters are percent-encoded @@ -318,6 +319,7 @@ static char *percent_encode(const char *str) { *p = '\0'; return encoded; } +#endif static void SystemService_OpenPlayingManual(void) { if (!SystemService_IsExistPlayingManual()) { @@ -332,7 +334,6 @@ static void SystemService_OpenPlayingManual(void) { return; } - #ifdef _WIN32 const char *prefix = "file:///"; char *path_component = real_path;