Commit da176d2f authored by Simon Morlat's avatar Simon Morlat

compilation fixes for win32

parent fd65d840
*.o
*.lo
*.la
configure
Makefile.in
......@@ -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_")
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment