From 14bf405be4c9d9cfd89ee351e77764888230ef48 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Wed, 4 Jun 2008 20:07:59 +0000 Subject: Replace checks for RESCUE in sources with checks for STATIC_GEOM_CLASSES and define STATIC_GEOM_CLASSES when building the rescue binary. This way geom can more easily be part of other crunched binaries, as it requires only a Makefile change. --- sbin/geom/class/label/geom_label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/geom/class/label') diff --git a/sbin/geom/class/label/geom_label.c b/sbin/geom/class/label/geom_label.c index eec20ca7e7a3f..e77fdf054a137 100644 --- a/sbin/geom/class/label/geom_label.c +++ b/sbin/geom/class/label/geom_label.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); #include "core/geom.h" #include "misc/subr.h" -#ifdef RESCUE +#ifdef STATIC_GEOM_CLASSES #define PUBSYM(x) glabel_##x #else #define PUBSYM(x) x -- cgit v1.2.3