/[escript]/trunk/escript/src/system_dep.h
ViewVC logotype

Diff of /trunk/escript/src/system_dep.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1032 by phornby, Wed Mar 14 06:32:09 2007 UTC revision 1034 by gross, Wed Mar 14 23:49:20 2007 UTC
# Line 2  Line 2 
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
# Line 20  Line 21 
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>

Legend:
Removed from v.1032  
changed lines
  Added in v.1034

  ViewVC Help
Powered by ViewVC 1.1.26