The desired mkdir does not seem to exist on Cygwin.
Fixes compiler error:
ntfsusermap.c: In function ‘outputmap’:
ntfsusermap.c:817:25: error: too few arguments to function ‘mkdir’
817 | mkdir(fullname);
| ^~~~~
In file included from /usr/include/sys/_default_fcntl.h:212,
from /usr/include/sys/fcntl.h:3,
from /usr/include/fcntl.h:13,
from ntfsusermap.c:113:
/usr/include/sys/stat.h:140:9: note: declared here
140 | int mkdir (const char *_path, mode_t __mode );
| ^~~~~
These tools were originally developed for running on Windows and later
ported to libntfs-3g. This patch makes them similar to other ntfsprogs
tools, dropping the native Windows interfaces and using libntfs-3g on
all platforms.
There is no change in usage or supported features, only the command
names have changed.
These tools were developped before the ntfsprogs were merged into ntfs-3g,
redesigning them like the ntfsprogs make the code simpler.
Note : at this stage secaudit and usermap cannot be built any more.