Date: Mon, 3 Oct 2016 00:52:30 -0600 From: Warner Losh <imp@bsdimp.com> To: Ed Schouten <ed@nuxi.nl> Cc: Marcel Moolenaar <marcel@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r306622 - head/usr.bin/mkimg Message-ID: <CANCZdfqc=eMENhs3hiMKCmvebnKmqnUpYGxwVLqhJY67Svksxg@mail.gmail.com> In-Reply-To: <CABh_MKnPUzdFc6Q7bwGc%2BpA5GCqKS0evDGs_7AG10-YddE2Wtw@mail.gmail.com> References: <201610030400.u9340UM1012582@repo.freebsd.org> <CABh_MKnPUzdFc6Q7bwGc%2BpA5GCqKS0evDGs_7AG10-YddE2Wtw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@nuxi.nl> wrote: > 2016-10-03 6:00 GMT+02:00 Marcel Moolenaar <marcel@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@nuxi.nl> > Nuxi, 's-Hertogenbosch, the Netherlands > KvK-nr.: 62051717 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqc=eMENhs3hiMKCmvebnKmqnUpYGxwVLqhJY67Svksxg>