mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix compilation with MinGW
This commit is contained in:
parent
c384b0b362
commit
92792ef19f
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@
|
|||
#endif
|
||||
#endif /*_WIN32_WCE*/
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
#include <Shlwapi.h>
|
||||
#else
|
||||
#include <libgen.h>
|
||||
|
|
@ -665,7 +665,7 @@ const char* lp_config_get_default_string(const LpConfig *lpconfig, const char *s
|
|||
}
|
||||
|
||||
static char *_lp_config_dirname(char *path) {
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
char *dir = ms_strdup(path);
|
||||
PathRemoveFileSpec(dir);
|
||||
return dir;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue