Commit: b386c3311d8c05ccbd075ab86be2ddace335b73b
boyang
yyyeer.bo at gmail.com
Wed Dec 9 03:05:23 MST 2009
Volker Lendecke wrote:
> On Wed, Dec 09, 2009 at 05:52:44PM +0800, boyang wrote:
>
>> According to linux pam, PAM_RADIO_TYPE is linux specific. But I am not
>> sure whether PAM_RADIO_TYPE is a macro or not on other platforms...
>>
>> If you are sure it is defined as macro, #ifdef LINUX should be equal to
>> #ifdef PAM_RADIO_TYPE.
>>
>
> The typical way to deal with this is to write a configure
> check. Then you can be sure that something like
> HAVE_PAM_RADIO_TYPE is usable in a #if preprocessor
> directive.
>
Yep. This sounds reasonable. Thanks!
> Volker
>
--
Bo Yang, Software Engineer, Suse Labs
GPG-key-ID 538C4C1A
Samba Team boyang at samba.org http://www.samba.org/
SUSE Linux boyang at suse.de http://www.novell.com/
More information about the samba-technical
mailing list