mirror of
https://github.com/linux-apfs/linux-apfs-rw.git
synced 2026-08-18 02:19:59 -07:00
I've been trying to build the driver for userland lately. Most of the code can be left as it is as long as I spoof the kernel headers and everything else that the kernel provides. The one exception is my uintmax_t typedef, because macos is very determined to provide its own definition for that type. I guess that makes sense, given that the lzfse code came from Apple in the first place. Anyway, none of this is a problem for the driver, but since I want to keep both codebases identical, put the same macro guards in here. Signed-off-by: Ernesto A. Fernández <ernesto@corellium.com>