Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
f9c0292d
Commit
f9c0292d
authored
May 28, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Forgot a little #ifdef, sorry.
parent
506c5ec7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/netutils.c
src/misc/netutils.c
+3
-3
No files found.
src/misc/netutils.c
View file @
f9c0292d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* netutils.c: various network functions
* netutils.c: various network functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: netutils.c,v 1.3
1 2001/05/28 02:38:48
sam Exp $
* $Id: netutils.c,v 1.3
2 2001/05/28 02:44:39
sam Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Benoit Steiner <benny@via.ecp.fr>
* Benoit Steiner <benny@via.ecp.fr>
...
@@ -199,7 +199,7 @@ int network_ChannelCreate( void )
...
@@ -199,7 +199,7 @@ int network_ChannelCreate( void )
intf_ErrMsg
(
"error: channel changing is not yet supported under BeOS"
);
intf_ErrMsg
(
"error: channel changing is not yet supported under BeOS"
);
return
(
1
);
return
(
1
);
#elif defined( SYS_LINUX )
#elif defined( SYS_LINUX )
|| defined( WIN32 )
/* FIXME : channels handling only work for linux */
/* FIXME : channels handling only work for linux */
/* Allocate structure */
/* Allocate structure */
p_main
->
p_channel
=
malloc
(
sizeof
(
input_channel_t
)
);
p_main
->
p_channel
=
malloc
(
sizeof
(
input_channel_t
)
);
...
@@ -241,7 +241,7 @@ int network_ChannelJoin( int i_channel )
...
@@ -241,7 +241,7 @@ int network_ChannelJoin( int i_channel )
intf_ErrMsg
(
"network error: channels are not yet supported under BeOS"
);
intf_ErrMsg
(
"network error: channels are not yet supported under BeOS"
);
return
(
-
1
);
return
(
-
1
);
#elif defined(
WIN32 ) || defined( SYS_LINUX
)
#elif defined(
SYS_LINUX ) || defined( WIN32
)
int
i_socket
;
int
i_socket
;
int
i_fromlen
;
int
i_fromlen
;
struct
sockaddr_in
sa_server
;
struct
sockaddr_in
sa_server
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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