From 73181d8328c22a90492852604e7f56139618e442 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 12 May 2007 21:46:49 +0000 Subject: [PATCH] Make fsstress compile. --- test/stress/fsstress/global.h | 10 +++++----- test/stress/fsstress/xfscompat.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/stress/fsstress/global.h b/test/stress/fsstress/global.h index 5bb7ecdefa..1d89cc49c5 100644 --- a/test/stress/fsstress/global.h +++ b/test/stress/fsstress/global.h @@ -30,7 +30,7 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ /* - * $DragonFly: src/test/stress/fsstress/global.h,v 1.1 2004/05/07 19:51:02 dillon Exp $ + * $DragonFly: src/test/stress/fsstress/global.h,v 1.2 2007/05/12 21:46:49 swildner Exp $ */ #ifndef GLOBAL_H @@ -47,18 +47,18 @@ /* libc includes */ -#ifdef __FreeBSD__ +#ifdef __DragonFly__ #include #include #endif #include -#ifndef __FreeBSD__ +#ifndef __DragonFly__ #include #endif #include #include #include -#ifndef __FreeBSD__ +#ifndef __DragonFly__ #include #endif #include @@ -72,7 +72,7 @@ #define O_DIRECT 040000 #endif -#ifdef __FreeBSD__ +#ifdef __DragonFly__ typedef off_t off64_t; #define stat64 stat #define lseek64 lseek diff --git a/test/stress/fsstress/xfscompat.h b/test/stress/fsstress/xfscompat.h index 205a828c60..ef5710a711 100644 --- a/test/stress/fsstress/xfscompat.h +++ b/test/stress/fsstress/xfscompat.h @@ -1,12 +1,12 @@ /* - * $DragonFly: src/test/stress/fsstress/xfscompat.h,v 1.1 2004/05/07 19:51:02 dillon Exp $ + * $DragonFly: src/test/stress/fsstress/xfscompat.h,v 1.2 2007/05/12 21:46:49 swildner Exp $ */ #define MAXNAMELEN 1024 struct dioattr { int d_miniosz, d_maxiosz, d_mem; }; -#ifndef __FreeBSD__ +#ifndef __DragonFly__ #define MIN(a,b) ((a)<(b) ? (a):(b)) #define MAX(a,b) ((a)>(b) ? (a):(b)) #endif -- 2.11.4.GIT