UtiLiteExp.h
Go to the documentation of this file.
00001 /*
00002 *  utilite is a cross-platform library with
00003 *  useful utilities for fast and small developing.
00004 *  Copyright (C) 2010  Mathieu Labbe
00005 *
00006 *  utilite is free library: you can redistribute it and/or modify
00007 *  it under the terms of the GNU Lesser General Public License as published by
00008 *  the Free Software Foundation, either version 3 of the License, or
00009 *  (at your option) any later version.
00010 *
00011 *  utilite is distributed in the hope that it will be useful,
00012 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 *  GNU Lesser General Public License for more details.
00015 *
00016 *  You should have received a copy of the GNU Lesser General Public License
00017 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
00018 */
00019 
00020 #ifndef UTILITEEXP_H
00021 #define UTILITEEXP_H
00022 
00026 #if defined(_WIN32)
00027   #if defined(rtabmap_utilite_EXPORTS)
00028     #define UTILITE_EXP   __declspec( dllexport )
00029   #else
00030     #define UTILITE_EXP   __declspec( dllimport )
00031   #endif
00032 #else
00033   #define UTILITE_EXP
00034 #endif
00035 
00036 #ifdef __GNUC__
00037 #define UTILITE_DEPRECATED(func) func __attribute__ ((deprecated))
00038 #elif defined(_MSC_VER)
00039 #define UTILITE_DEPRECATED(func) __declspec(deprecated) func
00040 #else
00041 #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
00042 #define UTILITE_DEPRECATED(func) func
00043 #endif
00044 
00045 #endif
00046 


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:28