escript  Revision_
escriptcore/src/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 escript_system_dep_h
27 #define escript_system_dep_h
28 
29 #define ESCRIPT_DLL_API
30 
31 #ifdef _WIN32
32 # undef ESCRIPT_DLL_API
33 # ifdef ESCRIPT_EXPORTS
34 # define ESCRIPT_DLL_API __declspec(dllexport)
35 # else
36 # define ESCRIPT_DLL_API __declspec(dllimport)
37 # endif
38 #endif
39 
40 #endif
41