mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-22 23:18:01 +03:00
Remove percent_encode from the compilation on windows
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user