diff options
author | unknown <msvensson@neptunus.(none)> | 2005-05-23 18:53:53 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-05-23 18:53:53 +0200 |
commit | 3ca4caef3fa58fd48c1f14777e08f617e434a049 (patch) | |
tree | a46edf2f906497734b35b2d809b1b398871a41b7 /include | |
parent | 9b8e02741ab73838ffa9dd26dd94a560d9d3d667 (diff) | |
download | mariadb-git-3ca4caef3fa58fd48c1f14777e08f617e434a049.tar.gz |
Build fixes for icc, compile _without_ "-no-gnu"
include/my_global.h:
icc does not define __ICC when emulating gcc. Use __INTEL_COMPILER to check for icc.
ndb/src/cw/cpcd/Process.cpp:
Remove rlimit64
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
Remove dirent64
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h index 62c6a5d1e4a..f059d603976 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -44,7 +44,7 @@ #endif /* __CYGWIN__ */ /* Determine when to use "#pragma interface" */ -#if !defined(__CYGWIN__) && !defined(__ICC) && defined(__GNUC__) && (__GNUC__ < 3) +#if !defined(__CYGWIN__) && !defined(__INTEL_COMPILER) && defined(__GNUC__) && (__GNUC__ < 3) #define USE_PRAGMA_INTERFACE #endif |