Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys If used in a tool, undef MAXPARTITIONS and redefine ...



details:   https://anonhg.NetBSD.org/src/rev/5852439d3254
branches:  trunk
changeset: 786625:5852439d3254
user:      matt <matt%NetBSD.org@localhost>
date:      Fri May 03 21:33:06 2013 +0000

description:
If used in a tool, undef MAXPARTITIONS and redefine as MAXMAXPARTITIONS

diffstat:

 sys/sys/disklabel.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5017b243cb76 -r 5852439d3254 sys/sys/disklabel.h
--- a/sys/sys/disklabel.h       Fri May 03 21:32:04 2013 +0000
+++ b/sys/sys/disklabel.h       Fri May 03 21:33:06 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.h,v 1.114 2013/05/03 16:05:11 matt Exp $     */
+/*     $NetBSD: disklabel.h,v 1.115 2013/05/03 21:33:06 matt Exp $     */
 
 /*
  * Copyright (c) 1987, 1988, 1993
@@ -49,6 +49,7 @@
  * paritition are machine dependent.
  */
 #if HAVE_NBTOOL_CONFIG_H
+#undef MAXPARTITIONS
 #define MAXPARTITIONS          MAXMAXPARTITIONS
 #else
 #include <machine/disklabel.h>



Home | Main Index | Thread Index | Old Index