incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis 'Hans' Fuchs <jean-louis.fu...@adfinis-sygroup.ch>
Subject Sal Shadow API on Solaris
Date Mon, 02 Apr 2012 09:07:18 GMT
Hello

main/sal/osl/os2/system.h

586 #ifdef OLD_SHADOW_API
587                 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buff    er)
!= NULL)
588 #else
589                 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buff    er,
NULL) == 0)
590 #endif

The build on OpenSolaris 2009.06 fails because it has the 4 param function. I defined OLD_SHADOW_API
and it works. IMO it should be defined by the build-env.

Best,
	Jean-Louis

-- 
Adfinis SyGroup AG
Jean-Louis 'Hans' Fuchs, Software Engineer
Keltenstrasse 98 | CH-3018 Bern
Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch


Mime
View raw message