From fe58583daafdc37eec43d058c0728341d565416e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 19 Nov 2004 20:27:14 +0000 Subject: [PATCH] Now defines BFS_NATIVE_ENDIAN if BFS is compiled only for native endians. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10050 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/bfs_endian.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/add-ons/kernel/file_systems/bfs/bfs_endian.h b/src/add-ons/kernel/file_systems/bfs/bfs_endian.h index bf01343453..a73883f666 100644 --- a/src/add-ons/kernel/file_systems/bfs/bfs_endian.h +++ b/src/add-ons/kernel/file_systems/bfs/bfs_endian.h @@ -1,7 +1,7 @@ /* -** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the OpenBeOS License. -*/ + * Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. + * Distributed under the terms of the MIT License. + */ #ifndef BFS_ENDIAN_H #define BFS_ENDIAN_H @@ -18,6 +18,7 @@ #if defined(BFS_LITTLE_ENDIAN_ONLY) && B_HOST_IS_LENDIAN \ || defined(BFS_BIG_ENDIAN_ONLY) && B_HOST_IS_BENDIAN /* host is BFS endian */ +# define BFS_NATIVE_ENDIAN # define BFS_ENDIAN_TO_HOST_INT16(value) value # define BFS_ENDIAN_TO_HOST_INT32(value) value # define BFS_ENDIAN_TO_HOST_INT64(value) value