Re: Problems using pgxs on Win32 - Mailing list pgsql-hackers

From Thomas Hallgren
Subject Re: Problems using pgxs on Win32
Date
Msg-id thhal-0MsdhAgfl3kA18LwuLmewICYJy4hxJ8@mailblocks.com
Whole thread Raw
In response to Re: Problems using pgxs on Win32  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: Problems using pgxs on Win32  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
Fabien,
>>   ifdef PGXS
>>   override CPPFLAGS := -I$(includedir_server)
>>-I$(includedir_server)/port/win32 -I$(includedir_internal) $(CPPFLAGS)
>>   else # not PGXS
>>   ...
> 
> 
> Why can't you #include "port/win32/some_file.h" which would (I think)
> avoid the issue without adding a win32 specific -I to all architectures??
> I'm not sure I'm happy if I see a win32 path when compiling under some
> unix.
> 
I'm not sure I understand. I'm not the one including the missing files. 
They are included when I include postgres.h.

Regards,
Thomas Hallgren



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: Problems using pgxs on Win32
Next
From: Thomas Hallgren
Date:
Subject: Re: charset/collation in values