escript  Revision_
finley/src/CPPAdapter/system_dep.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2016 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 
17 
22 /*
23  @(#) system_dep.h
24 */
25 
26 #ifndef finley_system_dep_h
27 #define finley_system_dep_h
28 
29 #include <cmath>
30 
31 #define FINLEY_DLL_API
32 
33 #ifdef _WIN32
34 
35 # ifndef FINLEY_STATIC_LIB
36 # undef FINLEY_DLL_API
37 # ifdef FINLEY_EXPORTS
38 # define FINLEY_DLL_API __declspec(dllexport)
39 # else
40 # define FINLEY_DLL_API __declspec(dllimport)
41 # endif
42 # endif
43 #endif
44 
45 #endif
46