libpq-dev: pg_config_manual.h redefines CACHE_LINE_SIZE

From: Christoph Berg <myon(at)debian(dot)org>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
Subject: libpq-dev: pg_config_manual.h redefines CACHE_LINE_SIZE
Date: 2014-09-30 19:57:56
Message-ID: 20140930195756.GC27407@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

there's a #define clash between pg_config_manual.h and FreeBSD's
/usr/include/machine-amd64/param.h which also defines CACHE_LINE_SIZE.

It's probably not really a PostgreSQL bug, but it seems easy enough to
rename that definition now as it's only present in 9.4+. It's only
used in one file, xlog.c: 375d8526f2900d0c377f44532f6d09ee06531f67

Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Flower 2014-09-30 20:38:54 Re: Time measurement format - more human readable
Previous Message Dean Rasheed 2014-09-30 19:47:56 Re: WITH CHECK and Column-Level Privileges