GEOS 3.4.2

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

export.h
1 /**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2009 Ragi Y. Burhum <ragi@burhum.com>
7 *
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.
12 *
13 **********************************************************************/
14 #ifndef GEOS_EXPORT_H
15 #define GEOS_EXPORT_H
16
17 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || \
18 defined( __BCPLUSPLUS__) || defined( __MWERKS__)
19
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
30
31 #endif