Re: pg_config.h.win32
От | Hiroshi Inoue |
---|---|
Тема | Re: pg_config.h.win32 |
Дата | |
Msg-id | 3BFDCD48.E9787C2C@tpf.co.jp обсуждение исходный текст |
Ответ на | pg_config.h.win32 (Hiroshi Inoue <Inoue@tpf.co.jp>) |
Ответы |
Re: pg_config.h.win32
|
Список | pgsql-hackers |
Tom Lane wrote: > > Hiroshi Inoue <Inoue@tpf.co.jp> writes: > > pg_config.h generated under cygwin doesn't fit > > in with native-windows. Of cource pg_config.h.win32 > > doesn't fit in with cygwin either. > > Should it? I'm quite content to regard them as separate platforms. > I don't expect LinuxPPC and Mac OSX to share a pg_config.h, even > though I run them on the same box. Yes but the current native-windows stuff doesn't seem valuable to keep a separate source tree. > > I'm also not seeing why #including one file in the other would make > that problem better? ??? I'm changing my pg_config.h locally in reality like as follows. #ifdef WIN32 #include "pg_config.h.win32" #else . . (the original content of pg_config.h) . #endif /* WIN32 */ There's no problem to compile under both cygwin and native-windows. It's much safer than replacing pg_config.h.win32 and the original pg_config.h each time. regards, Hiroshi Inoue
В списке pgsql-hackers по дате отправления: