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

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

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

revision 2016 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 2017 by phornby, Mon Nov 10 13:19:38 2008 UTC
# Line 23  Line 23 
23  #ifndef esysutils_system_dep_h  #ifndef esysutils_system_dep_h
24  #define esysutils_system_dep_h  #define esysutils_system_dep_h
25    
26  #ifdef __INTEL_COMPILER  #if defined(_WIN32) && defined(__INTEL_COMPILER)
27  // The Intel compiler on windows has an "improved" math library compared to the usual Visual C++ one  // The Intel compiler on windows has an "improved" math library compared to the usual Visual C++ one
28  // In particular it has a acosh and other similar functions which aren't implemented in Visual C++ math.h  // In particular it has a acosh and other similar functions which aren't implemented in Visual C++ math.h
29  // Note you will get a compile time error if any other header (including system ones) includes math.h whilst mathimf.h  // Note you will get a compile time error if any other header (including system ones) include math.h before mathimf.h
30  // has been included. As a result system_dep.h must be included FIRST at all times (this prevents math.h from being included).  // has been included. As a result system_dep.h must be included FIRST at all times (this prevents math.h from being included).
31  #include <mathimf.h>  #include <mathimf.h>
32  #else  #else
# Line 53  Line 53 
53  #   define THROW_ANY throw()  #   define THROW_ANY throw()
54  #endif  #endif
55    
56    #define NO_ARG
57    
58  #endif  #endif

Legend:
Removed from v.2016  
changed lines
  Added in v.2017

  ViewVC Help
Powered by ViewVC 1.1.26