Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8b7e81

Browse files
committed
Apparently icc doesn't always define __ICC, and it's more correct to
check for __INTEL_COMPILER. Per report from Dirk Tilger.Not back-patched since I don't fully trust it yet ...
1 parent8d30337 commitc8b7e81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/storage/s_lock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
6767
* Portions Copyright (c) 1994, Regents of the University of California
6868
*
69-
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.162 2007/07/16 14:02:22 tgl Exp $
69+
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.163 2007/08/05 15:11:40 tgl Exp $
7070
*
7171
*-------------------------------------------------------------------------
7272
*/
@@ -78,7 +78,7 @@
7878
#ifdefHAVE_SPINLOCKS/* skip spinlocks if requested */
7979

8080

81-
#if defined(__GNUC__)|| defined(__ICC)
81+
#if defined(__GNUC__)|| defined(__INTEL_COMPILER)
8282
/*************************************************************************
8383
* All the gcc inlines
8484
* Gcc consistently defines the CPU as __cpu__.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp