#ifndef __HFS_ENDIAN_H__
#define __HFS_ENDIAN_H__
+#include <sys/appleapiopts.h>
+
+#ifdef KERNEL
+#ifdef __APPLE_API_PRIVATE
/*
* hfs_endian.h
*
/* HFS is always big endian, no swapping needed */
#define SWAP_HFS_PLUS_FORK_DATA(__a)
- #define SWAP_BT_NODE(__a, __b, __c)
+ #define SWAP_BT_NODE(__a, __b, __c, __d)
/************************/
/* LITTLE ENDIAN Macros */
}
#endif
+#endif /* __APPLE_API_PRIVATE */
+#endif /* KERNEL */
#endif /* __HFS_FORMAT__ */