Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
b63e7002
Commit
b63e7002
authored
Feb 23, 2015
by
Ghislain MARY
Browse files
Fix compilation with VS2013.
parent
e5e0590d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/belle_sip_utils.c
src/belle_sip_utils.c
+3
-3
src/port.c
src/port.c
+1
-1
src/port.h
src/port.h
+1
-1
No files found.
src/belle_sip_utils.c
View file @
b63e7002
...
...
@@ -596,10 +596,10 @@ uint64_t belle_sip_time_ms(void){
}
#else
uint64_t
belle_sip_time_ms
(
void
){
#ifdef WINAPI_FAMILY_PHONE_APP
return
GetTickCount64
();
#else
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
return
GetTickCount
();
#else
return
GetTickCount64
();
#endif
}
#endif
...
...
src/port.c
View file @
b63e7002
...
...
@@ -133,7 +133,7 @@ int belle_sip_thread_key_delete(belle_sip_thread_key_t key){
#endif
}
#if
def
WINAPI_FAMILY_P
HONE_APP
#if
!
WINAPI_FAMILY_P
ARTITION(WINAPI_PARTITION_DESKTOP)
void
belle_sip_sleep
(
unsigned
int
ms
)
{
HANDLE
sleepEvent
=
CreateEventEx
(
NULL
,
NULL
,
CREATE_EVENT_MANUAL_RESET
,
EVENT_ALL_ACCESS
);
if
(
!
sleepEvent
)
...
...
src/port.h
View file @
b63e7002
...
...
@@ -111,7 +111,7 @@ static BELLESIP_INLINE int get_socket_error(void){
const
char
*
belle_sip_get_socket_error_string
();
const
char
*
belle_sip_get_socket_error_string_from_code
(
int
code
);
#if
def
WINAPI_FAMILY_P
HONE_APP
#if
!
WINAPI_FAMILY_P
ARTITION(WINAPI_PARTITION_DESKTOP)
BELLESIP_INTERNAL_EXPORT
void
belle_sip_sleep
(
unsigned
int
ms
);
#else
#define belle_sip_sleep Sleep
...
...
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