mCtrl 0.8.0

mCtrl/defs.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008-2011 Martin Mitas
00003  *
00004  * This library is free software; you can redistribute it and/or modify it
00005  * under the terms of the GNU Lesser General Public License as published by
00006  * the Free Software Foundation; either version 2.1 of the License, or
00007  * (at your option) any later version.
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
00012  * GNU Lesser General Public License for more details.
00013  * 
00014  * You should have received a copy of the GNU Lesser General Public License
00015  * along with this library; if not, write to the Free Software Foundation,
00016  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00017  */
00018 
00019 #ifndef MCTRL_DEFS_H
00020 #define MCTRL_DEFS_H
00021 
00022 #include <windows.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 
00036 #ifdef MCTRL_BUILD
00037     #define MCTRL_API       __declspec(dllexport) __stdcall
00038 #else
00039 
00043     #define MCTRL_API       __declspec(dllimport) __stdcall
00044 #endif
00045 
00046 
00047 #ifdef __cplusplus
00048 }  /* extern "C" */
00049 #endif
00050 
00051 #endif  /* MCTRL_DEFS_H */