Commit 0cd9fe84 authored by Ghislain MARY's avatar Ghislain MARY

Fix build of unit tests with VS2013.

parent ebbd1094
......@@ -749,7 +749,7 @@ MS2_PUBLIC float video_stream_get_received_framerate(const VideoStream *stream);
/**
* Returns the name of the video display filter on the current platform.
**/
const char *video_stream_get_default_video_renderer(void);
MS2_PUBLIC const char *video_stream_get_default_video_renderer(void);
MS2_PUBLIC void video_stream_enable_self_view(VideoStream *stream, bool_t val);
MS2_PUBLIC unsigned long video_stream_get_native_window_id(VideoStream *stream);
......
......@@ -301,7 +301,15 @@ void helper(const char *name) {
return -1; \
}
#ifndef WINAPI_FAMILY_PHONE_APP
#if defined(WIN32) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#define BUILD_ENTRY_POINT 1
#elif TARGET_OS_MAC || TARGET_OS_IPHONE
#define BUILD_ENTRY_POINT 1
#else
#define BUILD_ENTRY_POINT 0
#endif
#if BUILD_ENTRY_POINT
#if TARGET_OS_MAC || TARGET_OS_IPHONE
int apple_main (int argc, char *argv[]) {
#else
......
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