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:30:03 -0500 |
commit | 948a64d2b9d75e20a247fd7e3f11fd2a4120319b (patch) | |
tree | b79f304a5c9f411c5e3155e422a86eec2267afb5 /src | |
parent | d5a0bb5acc87ad272508ce0f1d83f581cb634d27 (diff) | |
download | postgresql-948a64d2b9d75e20a247fd7e3f11fd2a4120319b.tar.gz postgresql-948a64d2b9d75e20a247fd7e3f11fd2a4120319b.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')
-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 9447db43207..e63ca71b333 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -2551,7 +2551,9 @@ ProcessInterrupts(void) */ #if defined(__ia64__) || defined(__ia64) +#ifdef __INTEL_COMPILER #include <asm/ia64regs.h> +#endif static __inline__ char * ia64_get_bsp(void) |