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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3792 - (show annotations)
Wed Feb 1 06:16:25 2012 UTC (6 years, 11 months ago) by caltinay
File MIME type: text/plain
File size: 1355 byte(s)
Merged ripley rectangular domain into trunk.

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2012 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14 #ifndef __RIPLEY_SYSTEM_DEP_H__
15 #define __RIPLEY_SYSTEM_DEP_H__
16
17 #if defined(_WIN32) && defined(__INTEL_COMPILER)
18 /*
19 * The Intel compiler on windows has an "improved" math library compared to
20 * the usual Visual C++ one. In particular it has acosh and other similar
21 * functions which aren't implemented in Visual C++ math.h.
22 * Note you will get a compile time error if any other header (including
23 * system ones) includes math.h whilst mathimf.h has been included.
24 * As a result system_dep.h must be included FIRST at all times (this
25 * prevents math.h from being included).
26 */
27 # include <mathimf.h>
28 #else
29 # include <math.h>
30 #endif
31
32 #define RIPLEY_DLL_API
33
34 #ifdef _WIN32
35 # ifndef RIPLEY_STATIC_LIB
36 # undef RIPLEY_DLL_API
37 # ifdef RIPLEY_EXPORTS
38 # define RIPLEY_DLL_API __declspec(dllexport)
39 # else
40 # define RIPLEY_DLL_API __declspec(dllimport)
41 # endif
42 # endif
43 #endif
44
45 #endif // __RIPLEY_SYSTEM_DEP_H__
46

  ViewVC Help
Powered by ViewVC 1.1.26