Ian Jackson wrote:
The patch below makes it possible to disable AF_UNIX (unix-domain) sockets in host environments which do not define _WIN32, by adding -DNO_UNIX_SOCKETS to the compiler flags. This is useful in the effectively-embedded qemu host which are going to be using for device emulation in Xen.Ian.
Presumably, this is because you're compiling for MiniOS? Why not just add a _MINIOS define and then add an appropriate #ifndef.
Regards, Anthony Liguori