Re: Visual Studio 2005, C-language function - avoiding hacks?
От | Craig Ringer |
---|---|
Тема | Re: Visual Studio 2005, C-language function - avoiding hacks? |
Дата | |
Msg-id | 4B90D73F.7070706@postnewspapers.com.au обсуждение исходный текст |
Ответ на | Re: Visual Studio 2005, C-language function - avoiding hacks? ("Kevin Flanagan" <kevin-f@linkprior.com>) |
Ответы |
Re: Visual Studio 2005, C-language function - avoiding hacks?
|
Список | pgsql-hackers |
Kevin Flanagan wrote: > Ok, re "building with the win32 configuration" ... that sounds like just the thing I should know about. All I've done isdownloaded and installed the 1-click installer for Windows from http://www.enterprisedb.com/products/pgdownload.do#windows... so while I'm sure it knows it's running on Win32, is theresome other configuration change I should make for dev purposes to indicate that it's "the win32 configuration"? Or does"building with the win32 configuration" refer to those who are building the server from source, or something? I wasn't too specific because it's been a while since I did any coding against Pg on win32, and I couldn't remember exactly how it selected the right code to use for a given platform - whether it was a macro that must be defined, or what. Having had a look at the sources: It's done by header search path. You need to make sure that include/port/win32_msvc is on the header search path as well as the main include/ directory. I *think* port/win32 is for the MinGW win32 port and thus shouldn't be included in the search path for msvc builds, but I'm not 100% sure of that and a quick look doesn't reveal any documentation on the matter. -- Craig Ringer
В списке pgsql-hackers по дате отправления: