Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
cpp-libs
libnice
Commits
8ceb47f3
Commit
8ceb47f3
authored
Apr 28, 2015
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples: Use the correct g_io_channel_win32_new_fd() function
parent
63f53d40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
examples/sdp-example.c
examples/sdp-example.c
+1
-1
examples/simple-example.c
examples/simple-example.c
+1
-1
examples/threaded-example.c
examples/threaded-example.c
+1
-1
No files found.
examples/sdp-example.c
View file @
8ceb47f3
...
...
@@ -125,7 +125,7 @@ example_thread(void *data)
gchar
*
sdp
,
*
sdp64
;
#ifdef G_OS_WIN32
io_stdin
=
g_io_channel_win32_new
(
_fileno
(
stdin
));
io_stdin
=
g_io_channel_win32_new
_fd
(
_fileno
(
stdin
));
#else
io_stdin
=
g_io_channel_unix_new
(
fileno
(
stdin
));
#endif
...
...
examples/simple-example.c
View file @
8ceb47f3
...
...
@@ -113,7 +113,7 @@ main(int argc, char *argv[])
gloop
=
g_main_loop_new
(
NULL
,
FALSE
);
#ifdef G_OS_WIN32
io_stdin
=
g_io_channel_win32_new
(
_fileno
(
stdin
));
io_stdin
=
g_io_channel_win32_new
_fd
(
_fileno
(
stdin
));
#else
io_stdin
=
g_io_channel_unix_new
(
fileno
(
stdin
));
#endif
...
...
examples/threaded-example.c
View file @
8ceb47f3
...
...
@@ -136,7 +136,7 @@ example_thread(void *data)
int
rval
;
#ifdef G_OS_WIN32
io_stdin
=
g_io_channel_win32_new
(
_fileno
(
stdin
));
io_stdin
=
g_io_channel_win32_new
_fd
(
_fileno
(
stdin
));
#else
io_stdin
=
g_io_channel_unix_new
(
fileno
(
stdin
));
#endif
...
...
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