- Fixed Linux compiler errors and snd_mididevice.

-- errno.h is required for 'errno';
-- don't use str(n)casecmp and rely on ZDoom CMake handling;
-- add a missing parenthesis around a 'signed char' cast;
-- remove an unneeded GNU_SOURCE redefinition;
-- the non-MSVC side of snd_mididevice was not adapted to the new code, making wildmidi unavailable through the menu.
This commit is contained in:
Edoardo Prezioso 2015-12-29 10:33:20 +01:00
commit 7c82c576a3
4 changed files with 26 additions and 25 deletions

View file

@ -33,6 +33,8 @@
**
*/
#include <errno.h>
#include "../files.h"
#include "wm_error.h"
#include "file_io.h"