Fix compilation error relating to dlopen() and family.

This commit is contained in:
David Reid
2023-05-23 14:04:40 +10:00
parent ea42e16a79
commit a2698a0048
+7
View File
@@ -17721,6 +17721,13 @@ MA_API ma_result ma_job_queue_next(ma_job_queue* pQueue, ma_job* pJob)
Dynamic Linking Dynamic Linking
*******************************************************************************/ *******************************************************************************/
#ifdef MA_POSIX
/* No need for dlfcn.h if we're not using runtime linking. */
#ifndef MA_NO_RUNTIME_LINKING
#include <dlfcn.h>
#endif
#endif
MA_API ma_handle ma_dlopen(ma_log* pLog, const char* filename) MA_API ma_handle ma_dlopen(ma_log* pLog, const char* filename)
{ {
#ifndef MA_NO_RUNTIME_LINKING #ifndef MA_NO_RUNTIME_LINKING