One of the beauties of winelib is that you can use both win32 and unix code. I would just include unistd.h and not use the win32 call at all. In case of strcmp make sure you really link against msvcrt, so that libc isn't linked in.
One of the beauties of winelib is that you can use both win32 and unix code. I would just include unistd.h and not use the win32 call at all. In case of strcmp make sure you really link against msvcrt, so that libc isn't linked in.