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

Diff of /trunk/finley/src/CPPAdapter/system_dep.h

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

trunk/finley/src/CPPAdapter/system_dep.h revision 2881 by jfenwick, Thu Jan 28 02:03:15 2010 UTC trunk/finley/src/system_dep.h revision 2895 by caltinay, Fri Jan 29 04:58:16 2010 UTC
# Line 16  Line 16 
16  \file finley/src/CPPAdapter/system_dep.h  \file finley/src/CPPAdapter/system_dep.h
17  \ingroup Other  \ingroup Other
18   */   */
19  //  /*
20  // @(#) system_dep.h     @(#) system_dep.h
21  //  */
22    
23  #ifndef finley_system_dep_h  #ifndef finley_system_dep_h
24  #define finley_system_dep_h  #define finley_system_dep_h
25    
26  #if defined(_WIN32) && defined(__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  /*
28  // 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
29  // Note you will get a compile time error if any other header (including system ones) includes math.h whilst mathimf.h   * the usual Visual C++ one. In particular it has acosh and other similar
30  // has been included. As a result system_dep.h must be included FIRST at all times (this prevents math.h from being included).   * functions which aren't implemented in Visual C++ math.h.
31     * Note you will get a compile time error if any other header (including
32     * system ones) includes math.h whilst mathimf.h has been included.
33     * As a result system_dep.h must be included FIRST at all times (this
34     * prevents math.h from being included).
35     */
36  #   include <mathimf.h>  #   include <mathimf.h>
37  #else  #else
38  #   include <math.h>  #   include <math.h>
# Line 47  Line 52 
52  #   endif  #   endif
53  #endif  #endif
54    
   
55  #endif  #endif
56    

Legend:
Removed from v.2881  
changed lines
  Added in v.2895

  ViewVC Help
Powered by ViewVC 1.1.26