dirname_r() unavailable until macOS 10.12
smashwilson opened this issue · comments
atom/atom's Circle CI configuration is unable to build because its version of macOS doesn't define dirname_r()
:
../src/worker/macos/batch_handler.cpp:71:18: error: use of undeclared identifier 'dirname_r'
char *result = dirname_r(event_path.c_str(), parent_dir);
^
1 error generated.
From the dirname_r
man page, it looks like dirname_r
wasn't introduced until macOS 10.12.
Fixed in #82.