diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-01-27 16:27:27 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-01-27 16:29:54 -0500 |
commit | 8bbb60225a8127681718f399af9b8d90170c435f (patch) | |
tree | f75625d1f731fd772419e4c5a005e58e2e2fd8fa /src/backend/tcop/postgres.c | |
parent | bdf3a806466b18d89bd92b93bd83bc762450d9e1 (diff) | |
download | postgresql-8bbb60225a8127681718f399af9b8d90170c435f.tar.gz postgresql-8bbb60225a8127681718f399af9b8d90170c435f.zip |
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |