Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
belle-sip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
belle-sip
Commits
41e5b77d
Commit
41e5b77d
authored
Feb 24, 2015
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation with MinGW.
parent
b63e7002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
port.h
src/port.h
+6
-1
No files found.
src/port.h
View file @
41e5b77d
...
...
@@ -85,9 +85,14 @@ BELLESIP_INTERNAL_EXPORT void belle_sip_uninit_sockets(void);
int
belle_sip_socket_set_nonblocking
(
belle_sip_socket_t
sock
);
int
belle_sip_socket_set_dscp
(
belle_sip_socket_t
sock
,
int
ai_family
,
int
dscp
);
int
belle_sip_socket_enable_dual_stack
(
belle_sip_socket_t
sock
);
#if defined(WIN32)
#if defined(__MINGW32__) || !defined(WINAPI_FAMILY_PARTITION)
// Only use with x being WINAPI_PARTITION_DESKTOP to test if building on desktop
#define WINAPI_FAMILY_PARTITION(x) 1
#endif
typedef
HANDLE
belle_sip_thread_t
;
#define belle_sip_thread_self_id() (unsigned long)GetCurrentThreadId()
...
...
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