postgres.git / summary / log / commit / refs

commit    8bbb60225a8127681718f399af9b8d90170c435f
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Thu Jan 27 21:27:27 2011 +0000
First released in: 9.1.0, 8.2.20, 8.3.14, 8.4.7, 9.0.3

    Don't include <asm/ia64regs.h> unnecessarily.
    
    We only need that header when compiling with icc, since the gcc variant of
    ia64_get_bsp() uses in-line assembly code.  Per report from Frank Brendel,
    the header doesn't exist on all IA64 platforms; so don't include it unless
    we need it.


src/backend/tcop/postgres.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index cf591ed5e32..bd8287e68d1 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -2690,7 +2690,9 @@ ProcessInterrupts(void) */ #if defined(__ia64__) || defined(__ia64) +#ifdef __INTEL_COMPILER #include <asm/ia64regs.h> +#endif static __inline__ char * ia64_get_bsp(void) [parent: bdf3a806466b]