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