Bo Peng wrote: >> > Does cmake define HAVE_CHMOD? >> >> No, after discussing it with Georg I've disabled chmod on Windows, >> config.h.cmake: >> >> #ifdef _MSC_VER > > I see. I am uncomfortable with #_MSC_VER since this assumes msvc > compiler so this may fail under mingw. > > I am adding HAVE_MODE_T. Please, Georg and Peter, adjust autotools and > cmake. > > Bo >
mode_t is only used when HAVE_CHMOD is enabled so why do you need a HAVE_MODE_T? Peter