mirror of
https://github.com/holub/mame
synced 2025-05-17 19:24:59 +03:00
3rdparty/portmidi: Fixes for Linux and clang builds.
This commit is contained in:
parent
91cc7c0992
commit
435f04a4c5
2
3rdparty/portmidi/pm_linux/finddefault.c
vendored
2
3rdparty/portmidi/pm_linux/finddefault.c
vendored
@ -31,7 +31,7 @@ int match_string(FILE *inf, const char *s)
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
/* Parse preference files, find default device, search devices --
|
Parse preference files, find default device, search devices --
|
||||||
*/
|
*/
|
||||||
PmDeviceID find_default_device(const char *path, int input, PmDeviceID id)
|
PmDeviceID find_default_device(const char *path, int input, PmDeviceID id)
|
||||||
/* path -- the name of the preference we are searching for
|
/* path -- the name of the preference we are searching for
|
||||||
|
@ -1192,6 +1192,7 @@ end
|
|||||||
|
|
||||||
configuration { "gmake or ninja" }
|
configuration { "gmake or ninja" }
|
||||||
buildoptions_c {
|
buildoptions_c {
|
||||||
|
"-Wno-unknown-pragmas",
|
||||||
"-Wno-unused-function",
|
"-Wno-unused-function",
|
||||||
"-Wno-unused-variable",
|
"-Wno-unused-variable",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user