/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2009 Ragi Y. Burhum * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * by the Free Software Foundation. * See the COPYING file for more information. * **********************************************************************/ #pragma once #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || \ defined( __BCPLUSPLUS__) || defined( __MWERKS__) # if defined(GEOS_DLL_EXPORT) # define GEOS_DLL __declspec(dllexport) # elif defined(GEOS_DLL_IMPORT) # define GEOS_DLL extern __declspec(dllimport) # else # define GEOS_DLL # endif #else # define GEOS_DLL #endif #if defined(_MSC_VER) # pragma warning(disable: 4251) // identifier : class type needs to have dll-interface to be used by clients of class type2 #endif