00001 //
00002 // Copyright (C) 2006 Refractions Research, Inc.
00003 //
00004 // This library is free software; you can redistribute it and/or
00005 // modify it under the terms of version 2.1 of the GNU Lesser
00006 // General Public License as published by the Free Software Foundation.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00016 //
00017 #ifndef FDOPOSTGIS_OV_H
00018 #define FDOPOSTGIS_OV_H
00019
00020 // The following ifdef block is the standard way of creating macros which make exporting
00021 // from a DLL simpler. All files within this DLL are compiled with the FDOPOSTGIS_OV_EXPORTS
00022 // symbol defined. The FDO_EXPORTS symbol should not be defined on any project
00023 // that uses this DLL. This way any other project whose source files include this file see
00024 // FDOPOSTGIS_OV_API functions as being imported from a DLL, whereas this DLL sees symbols
00025 // defined with this macro as being exported.
00026 #ifdef _WIN32
00027 #ifdef FDOPOSTGIS_OV_EXPORTS
00028 #define FDOPOSTGIS_OV_API __declspec(dllexport)
00029 #else
00030 #define FDOPOSTGIS_OV_API __declspec(dllimport)
00031 #endif
00032 #else
00033 #define FDOPOSTGIS_OV_API
00034 #endif
00035
00036 #endif // FDOPOSTGIS_OV_H