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
425ef456
Commit
425ef456
authored
Jul 22, 2020
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Fix warning when building with newer GLib version
parent
8fe72dce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tests/test-io-stream-common.h
tests/test-io-stream-common.h
+5
-2
No files found.
tests/test-io-stream-common.h
View file @
425ef456
...
@@ -44,9 +44,12 @@
...
@@ -44,9 +44,12 @@
#include <unistd.h>
#include <unistd.h>
#endif
#endif
#if !GLIB_CHECK_VERSION(2, 58, 0)
/* Remove this when we request GLib 2.58 */
#define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f))
#if defined (GLIB_VERSION_2_58) && GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_58
#error "Remove this paragraph"
#endif
#endif
#undef G_SOURCE_FUNC
#define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f))
/* Make the message sufficiently large to not hit Nagle’s algorithm in the
/* Make the message sufficiently large to not hit Nagle’s algorithm in the
* pseudo-TCP implementation, and hence run really slowly. */
* pseudo-TCP implementation, and hence run really slowly. */
...
...
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