Merge pull request #34 from Gachapen/fix_dlerror

Fix compile error with dlerror() on Android
This commit is contained in:
Raynaldo Rivera 2016-01-12 21:20:47 -07:00
commit b0a778b6a9

View File

@ -186,7 +186,7 @@ namespace cAudio
return ret;
#elif defined(CAUDIO_PLATFORM_MAC) || defined(CAUDIO_PLATFORM_LINUX)
char* error = dlerror();
const char* error = dlerror();
return error != NULL ? cAudioString(error) : cAudioString("");
#else