2
/*******************************************************
4
* Copyright (c) 2003-2010 by University of Queensland
5
* Earth Systems Science Computational Center (ESSCC)
6
* http://www.uq.edu.au/esscc
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
12
*******************************************************/
16
\file dudley/src/CPPAdapter/system_dep.h
23
#ifndef dudley_system_dep_h
24
#define dudley_system_dep_h
26
#if defined(_WIN32) && defined(__INTEL_COMPILER)
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).
41
#define DUDLEY_DLL_API
45
# ifndef DUDLEY_STATIC_LIB
46
# undef DUDLEY_DLL_API
47
# ifdef DUDLEY_EXPORTS
48
# define DUDLEY_DLL_API __declspec(dllexport)
50
# define DUDLEY_DLL_API __declspec(dllimport)