|
QGIS API Documentation
master-59fd5e0
|
00001 /* 00002 * Copyright Tim (xtimor@gmail.com) 00003 * 00004 * NMEA library is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU Lesser General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program 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 program. If not, see <http://www.gnu.org/licenses/> 00016 */ 00017 /* 00018 * 00019 * NMEA library 00020 * URL: http://nmea.sourceforge.net 00021 * Author: Tim (xtimor@gmail.com) 00022 * Licence: http://www.gnu.org/licenses/lgpl.html 00023 * $Id: config.h 17 2008-03-11 11:56:11Z xtimor $ 00024 * 00025 */ 00026 00027 #ifndef __NMEA_CONFIG_H__ 00028 #define __NMEA_CONFIG_H__ 00029 00030 #define NMEA_VERSION ("0.5.3") 00031 #define NMEA_VERSION_MAJOR (0) 00032 #define NMEA_VERSION_MINOR (5) 00033 #define NMEA_VERSION_PATCH (3) 00034 00035 #define NMEA_CONVSTR_BUF (256) 00036 #define NMEA_TIMEPARSE_BUF (256) 00037 00038 #if defined(WINCE) || defined(UNDER_CE) 00039 # define NMEA_CE 00040 #endif 00041 00042 #if defined(WIN32) || defined(NMEA_CE) 00043 # define NMEA_WIN 00044 #else 00045 # define NMEA_UNI 00046 #endif 00047 00048 #if defined(NMEA_WIN) && (_MSC_VER >= 1400) 00049 # pragma warning(disable: 4996) /* declared deprecated */ 00050 #endif 00051 00052 #if defined(_MSC_VER) 00053 # define NMEA_POSIX(x) _##x 00054 # define NMEA_INLINE __inline 00055 #else 00056 # define NMEA_POSIX(x) x 00057 # define NMEA_INLINE inline 00058 #endif 00059 00060 #if !defined(NDEBUG) && !defined(NMEA_CE) 00061 # include <assert.h> 00062 # define NMEA_ASSERT(x) assert(x) 00063 #else 00064 # define NMEA_ASSERT(x) 00065 #endif 00066 00067 #endif /* __NMEA_CONFIG_H__ */