postgres.git / summary / log / commit / refs

commit    9ca60201119fdc41b05beb7063ee5f8d359d099b
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 6ec19c7c04b..4b0d8fe0a67 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -2697,7 +2697,9 @@ ProcessInterrupts(void) */ #if defined(__ia64__) || defined(__ia64) +#ifdef __INTEL_COMPILER #include <asm/ia64regs.h> +#endif static __inline__ char * ia64_get_bsp(void) [parent: e7a1793f55f4]