mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 17:29:20 +00:00
update to use UNICODE API for LoadLibrary
This commit is contained in:
parent
4592edcb6c
commit
d43008a17a
1 changed files with 3 additions and 3 deletions
|
|
@ -19,12 +19,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#ifdef __DIRECTSOUND_ENABLED__
|
||||
|
||||
#define UNICODE
|
||||
|
||||
#include "mediastreamer2/mssndcard.h"
|
||||
#include "mediastreamer2/msfilter.h"
|
||||
#include "mediastreamer2/msticker.h"
|
||||
|
||||
#define UNICODE
|
||||
|
||||
#include <mmsystem.h>
|
||||
#ifdef _MSC_VER
|
||||
#include <mmreg.h>
|
||||
|
|
@ -1045,7 +1045,7 @@ static void _winsnddscard_detect(MSSndCardManager *m){
|
|||
|
||||
if (ms_lib_instance==NULL)
|
||||
{
|
||||
ms_lib_instance = LoadLibrary("dsound.dll");
|
||||
ms_lib_instance = LoadLibrary(L"dsound.dll");
|
||||
if( ms_lib_instance == NULL )
|
||||
{
|
||||
/* error */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue