Re: Problem with ControlFileData structure being ABI depe ndent - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Problem with ControlFileData structure being ABI depe ndent
Date
Msg-id 200712071349340000@125917993
Whole thread Raw
Responses Re: Problem with ControlFileData structure being ABI depe ndent
List pgsql-hackers
> > I guess my advice would be to see if we can define _USE_32BIT_TIME_T
> > in port/win32.h and make it go away that way.  It'd definitely be nice
> > if MSVC and Mingw builds weren't binary-incompatible.
> 
> The attached patch defines it in the MSVC project files along with the
> other API-config related macros. It fixes all the offsets so they match
> mingw, but the CRC is still different for some as-yet unknown reason...

Is the project file really the proper place? Consider an add-on module - wouldn't we want the setting to go in that one
aswell? meaning we'd have it in a header file instead?
 

/Magnus




pgsql-hackers by date:

Previous
From: "Trevor Talbot"
Date:
Subject: Re: Problem with ControlFileData structure being ABI dependent
Next
From: Hubert FONGARNAND
Date:
Subject: Re: pg_dump and BINARY mode COPY