Ferenc Wagner wferi@afavant.elte.hu writes:
Is not
#ifdef _WIN32 # include <io.h> # include <process.h> #else # include "config.h" # include "wine/port.h" # define mkdir(d) mkdir (d, 0777) #endif
an acceptable workaround? This should be compilable even with MSVC after all, and Dimi has already invented all the magic needed for a successful make winetests_cross.exe.
I'm not sure why you don't want to use the normal mechanism for that. Dimi's patch cannot do the right thing, as you have noticed yourself, since it doesn't use the right config.h; and I don't think we want to add such #ifdefs to all the programs.