Guido Ottaviani / Mbed 2 deprecated LeonardoMbos

Dependencies:   mbos Watchdog TextLCD mbed ConfigFile

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config.h Source File

config.h

00001 /*
00002  *
00003  * NMEA library
00004  * URL: http://nmea.sourceforge.net
00005  * Author: Tim (xtimor@gmail.com)
00006  * Licence: http://www.gnu.org/licenses/lgpl.html
00007  * $Id: config.h 17 2008-03-11 11:56:11Z xtimor $
00008  *
00009  */
00010 
00011 #ifndef __NMEA_CONFIG_H__
00012 #define __NMEA_CONFIG_H__
00013 
00014 #define NMEA_VERSION        ("0.5.3")
00015 #define NMEA_VERSION_MAJOR  (0)
00016 #define NMEA_VERSION_MINOR  (5)
00017 #define NMEA_VERSION_PATCH  (3)
00018 
00019 #define NMEA_CONVSTR_BUF    (256)
00020 #define NMEA_TIMEPARSE_BUF  (256)
00021 
00022 #if defined(WINCE) || defined(UNDER_CE)
00023 #   define  NMEA_CE
00024 #endif
00025 
00026 #if defined(WIN32) || defined(NMEA_CE)
00027 #   define  NMEA_WIN
00028 #else
00029 #   define  NMEA_UNI
00030 #endif
00031 
00032 #if defined(NMEA_WIN) && (_MSC_VER >= 1400)
00033 # pragma warning(disable: 4996) /* declared deprecated */
00034 #endif
00035 
00036 #if defined(_MSC_VER)
00037 # define NMEA_POSIX(x)  _##x
00038 # define NMEA_INLINE    __inline
00039 #else
00040 # define NMEA_POSIX(x)  x
00041 # define NMEA_INLINE    inline
00042 #endif
00043 
00044 #if !defined(NDEBUG) && !defined(NMEA_CE)
00045 #   include <assert.h>
00046 #   define NMEA_ASSERT(x)   assert(x)
00047 #else
00048 #   define NMEA_ASSERT(x)
00049 #endif
00050 
00051 #endif /* __NMEA_CONFIG_H__ */