From 452de53a5462149150428540b2bd6f3f771d17f9 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Tue, 16 May 2006 16:31:58 +0000 Subject: [PATCH] Move a define depending on __FreeBSD_versoin to after where it would be defined. Submitted by: Ruslan Ermilov --- sys/dev/isp/isp_freebsd.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index acb4fd2378ba..1204bbdaa003 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -29,14 +29,6 @@ #ifndef _ISP_FREEBSD_H #define _ISP_FREEBSD_H -#if __FreeBSD_version < 500000 -#define ISP_PLATFORM_VERSION_MAJOR 4 -#define ISP_PLATFORM_VERSION_MINOR 17 -#else -#define ISP_PLATFORM_VERSION_MAJOR 5 -#define ISP_PLATFORM_VERSION_MINOR 9 -#endif - #include #include #include @@ -72,6 +64,14 @@ #include "opt_ddb.h" #include "opt_isp.h" +#if __FreeBSD_version < 500000 +#define ISP_PLATFORM_VERSION_MAJOR 4 +#define ISP_PLATFORM_VERSION_MINOR 17 +#else +#define ISP_PLATFORM_VERSION_MAJOR 5 +#define ISP_PLATFORM_VERSION_MINOR 9 +#endif + /* * Efficiency- get rid of SBus code && tests unless we need them. */