Equalizer 1.0
|
00001 /* Copyright (c) 2010, Daniel Pfeifer <daniel@pfeifer-mail.de> 00002 * 2010, Stefan Eilemann <eile@eyescale.ch> 00003 * 00004 * This library is free software; you can redistribute it and/or modify it under 00005 * the terms of the GNU Lesser General Public License version 2.1 as published 00006 * by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, but WITHOUT 00009 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00010 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 00011 * details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public License 00014 * along with this library; if not, write to the Free Software Foundation, Inc., 00015 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00016 */ 00017 00018 #ifndef EQFABRIC_API_H 00019 #define EQFABRIC_API_H 00020 00021 #include <co/api.h> 00022 00023 #if defined(EQ_FABRIC_STATIC) 00024 # define EQFABRIC_API 00025 # define EQFABRIC_INL 00026 #elif defined(EQ_FABRIC_SHARED) 00027 # define EQFABRIC_API EQ_DLLEXPORT 00028 #else 00029 # define EQFABRIC_API EQ_DLLIMPORT 00030 #endif 00031 00032 #if defined(EQ_EXPORTS) || defined(EQSERVER_EXPORTS) || \ 00033 defined(EQ_FABRIC_SHARED) || defined(EQUALIZERADMIN_SHARED) 00034 # define EQFABRIC_INL EQ_DLLEXPORT 00035 #elif !defined(EQFABRIC_INL) 00036 # define EQFABRIC_INL EQ_DLLIMPORT 00037 #endif 00038 00039 #endif //EQFABRIC_API_H