projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf3a80
)
Don't include <asm/ia64regs.h> unnecessarily.
author
Tom Lane
<
[email protected]
>
Thu, 27 Jan 2011 21:27:27 +0000
(16:27 -0500)
committer
Tom Lane
<
[email protected]
>
Thu, 27 Jan 2011 21:29:54 +0000
(16:29 -0500)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/tcop/postgres.c
b/src/backend/tcop/postgres.c
index cf591ed5e3267cb348f9103628a991817922d7f3..bd8287e68d1300182919e67bc90cf52110fb60be 100644
(file)
--- 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)