Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
a204ad1c
Commit
a204ad1c
authored
Jul 04, 2005
by
damienf
Browse files
compile fix for WIN32, needs review
parent
a09124b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/control/rc.c
View file @
a204ad1c
...
...
@@ -53,7 +53,7 @@
# define AF_LOCAL AF_UNIX
#endif
#ifdef
AF_LOCAL
#if
def
ined(
AF_LOCAL
) && ! defined(WIN32)
# include <sys/un.h>
#endif
...
...
@@ -186,7 +186,7 @@ static int Activate( vlc_object_t *p_this )
{
int
i_socket
;
#if
n
def
AF_LOCAL
#if
!
def
ined(
AF_LOCAL
) || defined(WIN32)
msg_Warn
(
p_intf
,
"your OS doesn't support filesystem sockets"
);
free
(
psz_unix_path
);
return
VLC_EGENERIC
;
...
...
@@ -313,7 +313,7 @@ static void Deactivate( vlc_object_t *p_this )
net_Close
(
p_intf
->
p_sys
->
i_socket
);
if
(
p_intf
->
p_sys
->
psz_unix_path
!=
NULL
)
{
#ifdef
AF_LOCAL
#if
def
ined(
AF_LOCAL
) && !defined(WIN32)
unlink
(
p_intf
->
p_sys
->
psz_unix_path
);
#endif
free
(
p_intf
->
p_sys
->
psz_unix_path
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment