GEOS  3.3.3
export.h
1 /**********************************************************************
2  * $Id: export.h 2834 2009-12-22 11:38:43Z mloskot $
3  *
4  * GEOS - Geometry Engine Open Source
5  * http://geos.refractions.net
6  *
7  * Copyright (C) 2009 Ragi Y. Burhum <ragi@burhum.com>
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************/
15 #ifndef GEOS_EXPORT_H
16 #define GEOS_EXPORT_H
17 
18 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || \
19  defined( __BCPLUSPLUS__) || defined( __MWERKS__)
20 
21 # if defined(GEOS_DLL_EXPORT)
22 # define GEOS_DLL __declspec(dllexport)
23 # elif defined(GEOS_DLL_IMPORT)
24 # define GEOS_DLL __declspec(dllimport)
25 # else
26 # define GEOS_DLL
27 # endif
28 #else
29 # define GEOS_DLL
30 #endif
31 
32 #endif