QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
config.h
Go to the documentation of this file.
1 /*
2 * Copyright Tim ([email protected])
3 *
4 * NMEA library is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>
16 */
17 /*
18  *
19  * NMEA library
20  * URL: http://nmea.sourceforge.net
21  * Author: Tim ([email protected])
22  * Licence: http://www.gnu.org/licenses/lgpl.html
23  * $Id: config.h 17 2008-03-11 11:56:11Z xtimor $
24  *
25  */
26 
27 #ifndef __NMEA_CONFIG_H__
28 #define __NMEA_CONFIG_H__
29 
30 #define NMEA_VERSION ("0.5.3")
31 #define NMEA_VERSION_MAJOR (0)
32 #define NMEA_VERSION_MINOR (5)
33 #define NMEA_VERSION_PATCH (3)
34 
35 #define NMEA_CONVSTR_BUF (256)
36 #define NMEA_TIMEPARSE_BUF (256)
37 
38 #if defined(WINCE) || defined(UNDER_CE)
39 # define NMEA_CE
40 #endif
41 
42 #if defined(WIN32) || defined(NMEA_CE)
43 # define NMEA_WIN
44 #else
45 # define NMEA_UNI
46 #endif
47 
48 #if defined(_MSC_VER)
49 # define NMEA_POSIX(x) _##x
50 # define NMEA_INLINE __inline
51 #else
52 # define NMEA_POSIX(x) x
53 # define NMEA_INLINE inline
54 #endif
55 
56 #if !defined(NDEBUG) && !defined(NMEA_CE)
57 # include <assert.h>
58 # define NMEA_ASSERT(x) assert(x)
59 #else
60 # define NMEA_ASSERT(x)
61 #endif
62 
63 #endif /* __NMEA_CONFIG_H__ */