Add Nintendo Switch support (including gitlab-ci, gitlab-pages etc.)

This commit is contained in:
Romain Graillot
2019-04-28 10:47:54 +02:00
parent 5d9aa6f969
commit d36e59ca9c
21 changed files with 607 additions and 7 deletions

View File

@@ -43,6 +43,8 @@
#include <sys/types.h>
#elif defined(__SKYOS__)||defined(__ANDROID__)
#warning "Your platform is missing some specific code here ! please check and fix :)"
#elif defined(__SWITCH__)
// Nothing much to do
#else
#define MOUNTED_GETMNTENT1
#endif
@@ -279,6 +281,10 @@ read_file_system_list (bool need_fs_type)
struct mount_entry **mtail = &mount_list;
(void)need_fs_type; // may be unused
#if defined(__SWITCH__)
(void)me; // unused on switch
#endif
#ifdef MOUNTED_LISTMNTENT
{
struct tabmntent *mntlist, *p;