On Mon, Oct 02, 2006 at 06:27:20PM +0200, Abdelrazak Younes wrote:

> I see. Thanks for the explanation. But if this code compiles wit Qt/X11 
> and is completely ignored by the X-server why not just let the code 
> as-is and avoid the CYGWIN macro altogether?

The cygwin compiler does not predefine _WIN32 and, when building for X11,
external_path() returns a posix-style path which is not understood by
the Windows API functions. Then I think that it is cleaner.

-- 
Enrico

Reply via email to