Module Name: src
Committed By: matt
Date: Fri May 3 21:33:07 UTC 2013
Modified Files:
src/sys/sys: disklabel.h
Log Message:
If used in a tool, undef MAXPARTITIONS and redefine as MAXMAXPARTITIONS
To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/sys/disklabel.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/disklabel.h
diff -u src/sys/sys/disklabel.h:1.114 src/sys/sys/disklabel.h:1.115
--- src/sys/sys/disklabel.h:1.114 Fri May 3 16:05:11 2013
+++ src/sys/sys/disklabel.h Fri May 3 21:33:06 2013
@@ -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>