Complete Note#1 in the http://wiki.osgeo.org/wiki/GEOS_Provenance_Review to get out...
[geos.git] / include / geos / export.h
blobac3c21446b80dcc709dc1aafaa46435a5c5b16e2
1 /**********************************************************************
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
6 * Copyright (C) 2009 Ragi Y. Burhum <ragi@burhum.com>
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
13 **********************************************************************/
14 #ifndef GEOS_EXPORT_H
15 #define GEOS_EXPORT_H
17 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || \
18 defined( __BCPLUSPLUS__) || defined( __MWERKS__)
20 # if defined(GEOS_DLL_EXPORT)
21 # define GEOS_DLL __declspec(dllexport)
22 # elif defined(GEOS_DLL_IMPORT)
23 # define GEOS_DLL __declspec(dllimport)
24 # else
25 # define GEOS_DLL
26 # endif
27 #else
28 # define GEOS_DLL
29 #endif
31 #endif