genimage icon indicating copy to clipboard operation
genimage copied to clipboard

Add macOS/BSD support

Open CatMe0w opened this issue 2 months ago • 0 comments

  • Fix endian.h compatibility on macOS
  • Replace GNU extensions (get_current_dir_name, sscanf %m, strdupa)
  • Add mdraid stub for non-Linux systems
  • Correct format specifiers for off_t type on macOS

Tested on macOS 26.0 with Apple clang 17.0.0 and FreeBSD 14.3 with FreeBSD clang 19.1.7.

CatMe0w avatar Oct 29 '25 23:10 CatMe0w