Fixed build of non-Windows targets

src/sound/mididevices/music_fluidsynth_mididevice.cpp:355:13: error: use of undeclared identifier 'BaseFileSearch'
This commit is contained in:
alexey.lysiuk 2017-05-13 14:29:29 +03:00
parent 4af2ca56b2
commit a01c6b1d65

View file

@ -54,7 +54,6 @@
// do this without including windows.h for this one single prototype
extern "C" unsigned __stdcall GetSystemDirectoryA(char *lpBuffer, unsigned uSize);
const char *BaseFileSearch(const char *file, const char *ext, bool lookfirstinprogdir = false);
#ifndef _M_X64
#define FLUIDSYNTHLIB1 "fluidsynth.dll"
@ -93,6 +92,8 @@ const char *BaseFileSearch(const char *file, const char *ext, bool lookfirstinpr
// EXTERNAL FUNCTION PROTOTYPES --------------------------------------------
const char *BaseFileSearch(const char *file, const char *ext, bool lookfirstinprogdir = false);
// PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
// PRIVATE FUNCTION PROTOTYPES ---------------------------------------------