if HAVE_NBTOOL_CONFIG_H is defined, also use the contents of this

file, not <i386/disklabel.h>.

XXX: the way tools/disklabel builds is gross.
This commit is contained in:
mrg 2008-10-28 02:19:27 +00:00
parent 5cf05f3b26
commit 60383d275a
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: disklabel.h,v 1.7 2008/10/26 00:08:15 mrg Exp $ */
/* $NetBSD: disklabel.h,v 1.8 2008/10/28 02:19:27 mrg Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@ -33,7 +33,7 @@
#ifndef _X86_64_DISKLABEL_H_
#define _X86_64_DISKLABEL_H_
#ifdef __x86_64__
#if defined(__x86_64__) || defined(HAVE_NBTOOL_CONFIG_H)
#define LABELSECTOR 1 /* sector containing label */
#define LABELOFFSET 0 /* offset of label in sector */