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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 757 - (show annotations)
Mon Jun 26 13:12:56 2006 UTC (13 years, 2 months ago) by woo409
File MIME type: text/plain
File size: 896 byte(s)
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)

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

  ViewVC Help
Powered by ViewVC 1.1.26