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
ortp
Commits
da176d2f
Commit
da176d2f
authored
Feb 04, 2010
by
Simon Morlat
Browse files
compilation fixes for win32
parent
fd65d840
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
da176d2f
*.o
*.lo
*.la
configure
Makefile.in
include/ortp/port.h
View file @
da176d2f
...
...
@@ -119,7 +119,7 @@ int __ortp_thread_create(pthread_t *thread, pthread_attr_t *attr, void * (*routi
#include <stdarg.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <io.h>
#ifdef _MSC_VER
#pragma push_macro("_WINSOCKAPI_")
...
...
src/port.c
View file @
da176d2f
...
...
@@ -241,7 +241,7 @@ int WIN_thread_create(ortp_thread_t *th, void *attr, void * (*func)(void *), voi
thread_param_t
*
params
=
ortp_new
(
thread_param_t
,
1
);
params
->
func
=
func
;
params
->
arg
=
data
;
*
th
=
(
HANDLE
)
_beginthreadex
(
NULL
,
0
,
(
LPTHREAD_START_ROUTINE
)
thread_starter
,
params
,
0
,
NULL
);
*
th
=
(
HANDLE
)
_beginthreadex
(
NULL
,
0
,
thread_starter
,
params
,
0
,
NULL
);
return
0
;
}
...
...
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