Kaydet (Commit) bdfcc8c9 authored tarafından Noel Grandin's avatar Noel Grandin

fix MACOS build

after commit 78b9537b "various: sal_Bool->bool"

Change-Id: Ia2842ac3c23d629a29edadf2b4699135b4d124ae
üst adef9080
...@@ -463,15 +463,15 @@ static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDir ...@@ -463,15 +463,15 @@ static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDir
*/ */
#define MACOSX_CONFIG_DIR "/Library/Application Support" /* Used on iOS, too */ #define MACOSX_CONFIG_DIR "/Library/Application Support" /* Used on iOS, too */
static sal_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax) static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax)
{ {
if( osl_psz_getHomeDir(Security, pszDirectory, nMax - sizeof(MACOSX_CONFIG_DIR) + 1) ) if( osl_psz_getHomeDir(Security, pszDirectory, nMax - sizeof(MACOSX_CONFIG_DIR) + 1) )
{ {
strcat( pszDirectory, MACOSX_CONFIG_DIR ); strcat( pszDirectory, MACOSX_CONFIG_DIR );
return sal_True; return true;
} }
return sal_False; return false;
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment