ROHC compression/decompression library
dllexport.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2012,2013 Didier Barvaux
00003  * Copyright 2013 WBX
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
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 Street, Fifth Floor, Boston, MA  02110-1301  USA
00018  */
00019 
00020 /**
00021  * @file   dllexport.h
00022  * @brief  Define the ROHC_EXPORT macro if needed by the platform
00023  * @author Didier Barvaux <didier@barvaux.org>
00024  */
00025 
00026 /** Macro that handles DLL export declarations gracefully */
00027 #ifdef DLL_EXPORT /* passed by autotools on command line */
00028         #define ROHC_EXPORT __declspec(dllexport)
00029 #else
00030         #define ROHC_EXPORT
00031 #endif
00032