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 18:24:26 +0000 (11:24 -0700)
commitbf4591b39db818f234a24772af7baa6220fc0480
tree4b8fc66a37e095c858e0a702b5f9075b80088884
parent2350540c6a2436184b8aedaa11309106d5527e5b
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