projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e1394
)
Apparently icc doesn't always define __ICC, and it's more correct to
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 5 Aug 2007 15:11:40 +0000
(15:11 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 5 Aug 2007 15:11:40 +0000
(15:11 +0000)
check for __INTEL_COMPILER. Per report from Dirk Tilger.
Not back-patched since I don't fully trust it yet ...
src/include/storage/s_lock.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/storage/s_lock.h
b/src/include/storage/s_lock.h
index bf366afde47ef8683b9f7ed96e276f97c1157f0d..54f3fdb8f54ce6592bf1bb3ee1b8c8dbec032ee2 100644
(file)
--- a/
src/include/storage/s_lock.h
+++ b/
src/include/storage/s_lock.h
@@
-78,7
+78,7
@@
#ifdef HAVE_SPINLOCKS /* skip spinlocks if requested */
-#if defined(__GNUC__) || defined(__I
CC
)
+#if defined(__GNUC__) || defined(__I
NTEL_COMPILER
)
/*************************************************************************
* All the gcc inlines
* Gcc consistently defines the CPU as __cpu__.