2 |
\file system_dep.h |
\file system_dep.h |
3 |
\ingroup Other |
\ingroup Other |
4 |
*/ |
*/ |
5 |
// |
/* |
6 |
// @(#) system_dep.h |
@(#) system_dep.h |
7 |
// |
*/ |
8 |
|
|
9 |
|
|
10 |
#ifndef escript_system_dep_h |
#ifndef escript_system_dep_h |
11 |
#define escript_system_dep_h |
#define escript_system_dep_h |
21 |
#include <limits.h> |
#include <limits.h> |
22 |
|
|
23 |
# ifdef __INTEL_COMPILER |
# ifdef __INTEL_COMPILER |
24 |
// The Intel compiler on windows has an "improved" math library compared to the usual Visual C++ one |
/* |
25 |
// In particular it has a acosh and other similar functions which aren't implemented in Visual C++ math.h |
The Intel compiler on windows has an "improved" math library compared to the usual Visual C++ one |
26 |
// Note you will get a compile time error if any other header (including system ones) includes math.h whilst mathimf.h |
In particular it has a acosh and other similar functions which aren't implemented in Visual C++ math.h |
27 |
// has been included. As a result system_dep.h must be included FIRST at all times (this prevents math.h from being included). |
Note you will get a compile time error if any other header (including system ones) includes math.h whilst mathimf.h |
28 |
|
has been included. As a result system_dep.h must be included FIRST at all times (this prevents math.h from being included). |
29 |
|
*/ |
30 |
# include <mathimf.h> |
# include <mathimf.h> |
31 |
# else |
# else |
32 |
# include <math.h> |
# include <math.h> |