Commit 7566f5fb authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac, src/vlc.c: WinCE build fixes.

parent 1c4a36a8
...@@ -162,6 +162,7 @@ case "${target_os}" in ...@@ -162,6 +162,7 @@ case "${target_os}" in
if test "${SYS}" = "mingwce"; then if test "${SYS}" = "mingwce"; then
# add ws2 for closesocket, select, recv # add ws2 for closesocket, select, recv
CPPFLAGS_save="${CPPFLAGS_save} -D_OFF_T_ -D_off_t=long"; CPPFLAGS="${CPPFLAGS_save}" CPPFLAGS_save="${CPPFLAGS_save} -D_OFF_T_ -D_off_t=long"; CPPFLAGS="${CPPFLAGS_save}"
VLC_ADD_CPPFLAGS([vlc],[-Dmain=maince])
VLC_ADD_LDFLAGS([vlc],[-lws2 -e WinMainCRTStartup]) VLC_ADD_LDFLAGS([vlc],[-lws2 -e WinMainCRTStartup])
VLC_ADD_LDFLAGS([ipv4 ipv6 access_http access_mms access_udp access_tcp access_ftp access_output_udp sap http netsync],[-lws2]) VLC_ADD_LDFLAGS([ipv4 ipv6 access_http access_mms access_udp access_tcp access_ftp access_output_udp sap http netsync],[-lws2])
fi fi
......
...@@ -157,7 +157,9 @@ static void SigHandler( int i_signal ) ...@@ -157,7 +157,9 @@ static void SigHandler( int i_signal )
#endif #endif
#if defined(UNDER_CE) #if defined(UNDER_CE)
#include "vlc_common.h" # if defined( _MSC_VER ) && defined( UNDER_CE )
# include "vlc_common.h"
# endif
/***************************************************************************** /*****************************************************************************
* WinMain: parse command line, start interface and spawn threads. (WinCE only) * WinMain: parse command line, start interface and spawn threads. (WinCE only)
*****************************************************************************/ *****************************************************************************/
......
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