- fixed compilation on Linux

libraries/oplsynth/oplio.cpp:59:32: error: ‘memset’ was not declared in this scope
src/sound/mididevices/midi_cvars.cpp:43:31: error: expected initializer before ‘GetSystemDirectoryA’
This commit is contained in:
alexey.lysiuk 2019-09-27 10:13:41 +03:00
parent 315e15c7f0
commit b5e1656c8e
2 changed files with 4 additions and 0 deletions

View file

@ -26,6 +26,8 @@
#include <math.h>
#include <assert.h>
#include <algorithm>
#include <string.h>
#include "genmidi.h"
#include "oplio.h"
#include "opl.h"

View file

@ -39,8 +39,10 @@
#include "cmdlib.h"
#include "doomerrors.h"
#ifdef _WIN32
// do this without including windows.h for this one single prototype
extern "C" unsigned __stdcall GetSystemDirectoryA(char* lpBuffer, unsigned uSize);
#endif // _WIN32
static void CheckRestart(int devtype)
{