Handle missing SIZE_MAX
Change-Id: Id931f5339e19ce5ff635af93fe9f60f3abebe069
This commit is contained in:
@@ -40,6 +40,9 @@
|
||||
#define getpwuid_r(uid, pwd, buf, buflen, result) (*(result) = getpwuid(uid), (*(result) ? (memcpy (buf, *(result), sizeof (struct passwd)), 0) : errno))
|
||||
#endif
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ((size_t)-1)
|
||||
#endif
|
||||
|
||||
static oslSecurityError SAL_CALL
|
||||
osl_psz_loginUser(const sal_Char* pszUserName, const sal_Char* pszPasswd,
|
||||
|
Reference in New Issue
Block a user