Add missing flags when building with mali fbdev
Merge branch 'master' of https://github.com/libretro/RetroArch
Merge branch 'master' of https://github.com/libretro/RetroArch
Merge pull request #1012 from heuripedes/master

Fix missing rarch.o object on windows
(Settings/menu) Add WITH_CMD to settings_data.c
(Menu/Settings) Add SD_FLAG_CMD_APPLY_AUTO
(Menu) Refator common code into calls to menu_action_setting_apply
config_file: Guard against calloc/malloc/realloc failure cases
(OSX) Cleanups
Merge pull request #1014 from lioncash/deref

config_file: Guard against calloc/malloc/realloc failure cases
(OSX) Add GLUI to OSX solution
Rewrite two settings relying on cmds
Fix a realloc guard mistake I made in config file.
Merge pull request #1015 from lioncash/whoops

Fix a realloc guard mistake I made in config_file.
playlist: early exit if NULL is passed to content_playlist_free_entry
Merge pull request #1016 from lioncash/free

playlist: early exit if NULL is passed to content_playlist_free_entry
Add Playlist Directory path setting
Set history path to playlists directory if playlist directory
is non-NULL
Create playlist in playlist_read_file if it doesn't already
exist
Create write_empty_file helper function in file_path.c