mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Fix MSVC compilation
This commit is contained in:
parent
37d129a13d
commit
7a6a0ee7af
@ -46,7 +46,11 @@ static void *d3dfonts_w32_init_font(void *video_data,
|
||||
OUT_TT_PRECIS,
|
||||
CLIP_DEFAULT_PRECIS,
|
||||
DEFAULT_PITCH,
|
||||
"Verdana" /* Hardcode FTL */
|
||||
#ifdef _MSC_VER /* MSVC needs w_char* */
|
||||
L"Verdana" /* Hardcode FTL */
|
||||
#else
|
||||
"Veranda"
|
||||
#endif
|
||||
};
|
||||
|
||||
d3dfonts = (d3dfonts_t*)calloc(1, sizeof(*d3dfonts));
|
||||
|
@ -125,7 +125,7 @@ bool netplay_discovery_driver_ctl(enum rarch_netplay_discovery_ctl_state state,
|
||||
|
||||
/* Make it broadcastable */
|
||||
#if defined(SOL_SOCKET) && defined(SO_BROADCAST)
|
||||
setsockopt(lan_ad_client_fd, SOL_SOCKET, SO_BROADCAST, (void *) &canBroadcast, sizeof(canBroadcast));
|
||||
setsockopt(lan_ad_client_fd, SOL_SOCKET, SO_BROADCAST, (const char *) &canBroadcast, sizeof(canBroadcast));
|
||||
#endif
|
||||
|
||||
/* Put together the request */
|
||||
|
Loading…
x
Reference in New Issue
Block a user