Tide 0.1.0

win_dll.h

Go to the documentation of this file.
00001 /* Tide
00002  *
00003  * Windows DLL declaration.
00004  *
00005  * Copyright 2011 Geoffrey Biggs geoffrey.biggs@aist.go.jp
00006  *     RT-Synthesis Research Group
00007  *     Intelligent Systems Research Institute,
00008  *     National Institute of Advanced Industrial Science and Technology (AIST),
00009  *     Japan
00010  *     All rights reserved.
00011  *
00012  * This file is part of Tide.
00013  *
00014  * Tide is free software; you can redistribute it and/or modify it under
00015  * the terms of the GNU Lesser General Public License as published by
00016  * the Free Software Foundation; either version 2.1 of the License, or
00017  * (at your option) any later version.
00018  *
00019  * Tide is distributed in the hope that it will be useful, but WITHOUT
00020  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00021  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
00022  * License for more details.
00023  *
00024  * You should have received a copy of the GNU Lesser General Public
00025  * License along with Tide. If not, see <http://www.gnu.org/licenses/>.
00026  */
00027 
00028 #if !defined(TIDE_WIN_DLL_H_)
00029 #define TIDE_WIN_DLL_H_
00030 
00031 #if defined(WIN32)
00032     #if defined(TIDE_STATIC)
00033         #define TIDE_EXPORT
00034     #elif defined(tide_EXPORTS)
00035         #define TIDE_EXPORT __declspec(dllexport)
00036     #else
00037         #define TIDE_EXPORT __declspec(dllimport)
00038     #endif
00039 #else
00040     #define TIDE_EXPORT
00041 #endif
00042 
00043 #endif // TIDE_WIN_DLL_H_
00044 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines