svn commit: r306622 - head/usr.bin/mkimg

Warner Losh imp at bsdimp.com
Mon Oct 3 06:52:32 UTC 2016


Wouldn't it be better to say at the top

#ifndef OFF_MAX
#define OFF_MAX INT64_MAX
#endif

On Mon, Oct 3, 2016 at 12:43 AM, Ed Schouten <ed at nuxi.nl> wrote:
> 2016-10-03 6:00 GMT+02:00 Marcel Moolenaar <marcel at freebsd.org>:
>> Log:
>>   Replace OFF_MAX with INT64_MAX. The former is defined on Linux.
>
> Blargh. If only C had std::numeric_limits<T>::{min,max}. :-(
>
> --
> Ed Schouten <ed at nuxi.nl>
> Nuxi, 's-Hertogenbosch, the Netherlands
> KvK-nr.: 62051717
>


More information about the svn-src-all mailing list