New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33739 (closed defect: fixed)

Opened 14 months ago

Last modified 10 months ago

Postgresql91 - wrong SIZEOF_LONG in ${prefix}/include/postgresql91/server/pg_config.h with +universal

Reported by: vince@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: pg_config.h universal Cc: mww@…, jwa@…
Port: postgresql91

Description (last modified by ryandesign@…) (diff)

The pg_config.h file as written by the postgresql91 port has this line :

/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 8

/* The size of `off_t', as computed by sizeof. */
#define SIZEOF_OFF_T 8

/* The size of `size_t', as computed by sizeof. */
#ifdef __LP64__
#define SIZEOF_SIZE_T 8
#else
#define SIZEOF_SIZE_T 4
#endif

SIZEOF_LONG and maybe SIZEOF_OFF_T should also be enclosed in #ifdef __LP64__ … #endif clauses.

Change History

comment:1 Changed 14 months ago by vince@…

  • Keywords pg_config.h universal added
  • Cc mww@…, jwa@… added
  • Port set to postgresql91

comment:2 Changed 14 months ago by ryandesign@…

  • Description modified (diff)

comment:3 Changed 10 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.