escript  Revision_Unversioneddirectory
dudley/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 dudley_system_dep_h
27 #define dudley_system_dep_h
28 
29 #define DUDLEY_DLL_API
30 
31 #ifdef _WIN32
32 
33 # ifndef DUDLEY_STATIC_LIB
34 # undef DUDLEY_DLL_API
35 # ifdef DUDLEY_EXPORTS
36 # define DUDLEY_DLL_API __declspec(dllexport)
37 # else
38 # define DUDLEY_DLL_API __declspec(dllimport)
39 # endif
40 # endif
41 #endif
42 
43 #endif
44