QGIS API Documentation  2.0.1-Dufour
 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(NMEA_WIN) && (_MSC_VER >= 1400)
49 # pragma warning(disable: 4996) /* declared deprecated */
50 #endif
51 
52 #if defined(_MSC_VER)
53 # define NMEA_POSIX(x) _##x
54 # define NMEA_INLINE __inline
55 #else
56 # define NMEA_POSIX(x) x
57 # define NMEA_INLINE inline
58 #endif
59 
60 #if !defined(NDEBUG) && !defined(NMEA_CE)
61 # include <assert.h>
62 # define NMEA_ASSERT(x) assert(x)
63 #else
64 # define NMEA_ASSERT(x)
65 #endif
66 
67 #endif /* __NMEA_CONFIG_H__ */