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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3676 - (show annotations)
Thu Nov 17 03:52:25 2011 UTC (7 years, 9 months ago) by jfenwick
File MIME type: text/plain
File size: 1421 byte(s)
Removed some debug text
Corrected some dudley where they should not have been.
Set savanna to build shared for now

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 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
15 /**
16 \file posowrap/src/system_dep.h
17 \ingroup Other
18 */
19 /*
20 @(#) system_dep.h
21 */
22
23 #ifndef pasowrap_system_dep_h
24 #define pasowrap_system_dep_h
25
26 #if defined(_WIN32) && defined(__INTEL_COMPILER)
27 /*
28 * The Intel compiler on windows has an "improved" math library compared to
29 * the usual Visual C++ one. In particular it has acosh and other similar
30 * 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>
37 #else
38 # include <math.h>
39 #endif
40
41 #define PASOWRAP_DLL_API
42
43 #ifdef _WIN32
44
45 # ifndef PASOWRAP_STATIC_LIB
46 # undef PASOWRAP_DLL_API
47 # ifdef PASOWRAP_EXPORTS
48 # define PASOWRAP_DLL_API __declspec(dllexport)
49 # else
50 # define PASOWRAP_DLL_API __declspec(dllimport)
51 # endif
52 # endif
53 #endif
54
55 #endif
56

  ViewVC Help
Powered by ViewVC 1.1.26