[Nut-upsdev] ETIME on FreeBSD
Tim Rice
tim at multitalents.net
Sun Jan 17 17:07:12 UTC 2010
On Sun, 17 Jan 2010, Alexey Loukianov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 17.01.2010 01:48, Charles Lepple wrote:
> > This looks like the commit that triggered the following FreeBSD build
> > failure:
> >
> > http://buildbot.ghz.cc/public/nut/FreeBSD-i686/builds/53
> >
>
> Arjen, looks like ETIME is linux-specific (FreeBSD error is "error: 'ETIME'
> undeclared"), so it might me worth to surround ETIME handling with:
> #ifdef __linux__
> ... the stuff ...
> $endif
Wouldn't it be better to use an #ifdef ETIME rather than the platform
specific __linux__?
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the Nut-upsdev
mailing list