BFS: make sure we #error if asked to build both big & little endian

Change-Id: Ia7dd0046a2a527d9acbeb31b665d98f099642102
Reviewed-on: https://review.haiku-os.org/643
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
François Revol
2018-10-27 17:48:25 +00:00
committed by waddlesplash
parent 1c8e2d42ad
commit 2522f69ee9
@@ -13,6 +13,9 @@
// default setting; BFS is now primarily a little endian file system
# define BFS_LITTLE_ENDIAN_ONLY
#endif
#if defined(BFS_LITTLE_ENDIAN_ONLY) && defined(BFS_BIG_ENDIAN_ONLY)
# error Building BFS with both big and little endian is not supported.
#endif
#if defined(BFS_LITTLE_ENDIAN_ONLY) && B_HOST_IS_LENDIAN \