Merge pull request #34 from Gachapen/fix_dlerror
Fix compile error with dlerror() on Android
This commit is contained in:
commit
b0a778b6a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user