svn commit: samba r15508 - branches/SAMBA_3_0/source branches/SAMBA_3_0/source/include branches/SAMBA_3_0/source/lib branches/SAMBA_3_0/source/profile branches/SAMBA_3_0/source/tdb trunk/source trunk/source/include trunk/source/lib trunk/source/profile

James Peach jpeach at samba.org
Mon May 8 22:53:28 GMT 2006


On Sun, 2006-05-07 at 20:40 -0700, Jeremy Allison wrote:
> On Mon, May 08, 2006 at 03:20:52AM +0000, jpeach at samba.org wrote:
> >  
> > +#if defined(HAVE_CLOCK_GETTIME)
> > +
> > +extern clockid_t __profile_clock;
> > +
> >  static inline unsigned long long profile_timestamp(void)
> >  {
> 
> Ok - I don't see tests for inline allowed or the existence

IIRC config.h automagically #defines inline to the right thing, but I'll
check on this.

> of long long here. This isn't portable I take it - but if
> not what decides what it will run on ?

Good catch. I should be checking HAVE_LONG_LONG or using SMB_BIG_UINT.
I'll fix this shortly.

-- 
James Peach | jpeach at samba.org



More information about the samba-technical mailing list