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