Re: Problems using pgxs on Win32

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: Problems using pgxs on Win32
Date: 2004-11-01 12:40:12
Message-ID: thhal-0MsdhAgfl3kA18LwuLmewICYJy4hxJ8@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-11-01 13:11:14 Re: charset/collation in values
Previous Message Fabien COELHO 2004-11-01 11:29:03 Re: Problems using pgxs on Win32

Browse pgsql-patches by date

  From Date Subject
Next Message a_ogawa 2004-11-01 14:25:18 Re: Cache last known per-tuple offsets to speed long tuple
Previous Message Andrew Dunstan 2004-11-01 12:17:35 Re: fix for Makefile.shlib multiply defined target