objformat - Duplicate NELEM() macro
authorSamuel J. Greear <sjg@thesjg.com>
Sun, 12 Feb 2012 18:24:26 +0000 (11:24 -0700)
committerSamuel J. Greear <sjg@thesjg.com>
Sun, 12 Feb 2012 19:01:47 +0000 (12:01 -0700)
commitff5f4391668147d9be7f2256b10f25da82e80f8e
tree3283ca7e8dfdd8af5299c05a5adb7f42268b104c
parent466d662cc8d5db379456c1bdeb870f909a47b405
objformat - Duplicate NELEM() macro

* Fix buildworld on DragonFly hosts built before Dec 18, 2010 (2.9).

* NELEM() macro was added to sys/param.h on Dec 18, 2010 and objformat was
  made to use it on May 20, 2011. This broke upgrades for machines running a
  DragonFly version built prior to Dec 18, 2010 since objformat is built with
  the hosts headers as part of the cross tools stage.
usr.bin/objformat/objformat.c