mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
Implement some functions for win32
And disable building binaries for win32 that make no sense there
This commit is contained in:
parent
7b90e3b942
commit
d6d4336705
4 changed files with 72 additions and 18 deletions
|
|
@ -151,7 +151,7 @@ static char *normalize_path(const char *fn) {
|
|||
#ifndef OS_IS_WIN32
|
||||
if (fn[0] != '/') {
|
||||
#else
|
||||
if (strlen(fn) < 3 || !isalpha(fn[0]) || fn[1] != ':' || fn[2] != '\\') {
|
||||
if (strlen(fn) < 3 || !IsCharAlpha(fn[0]) || fn[1] != ':' || fn[2] != '\\') {
|
||||
#endif
|
||||
char *homedir, *s;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue