make code compatible with up-to-date build environment
These changes make it possible to compile open9x with old (avr-gcc 4.3.3, avr-libc 1.6.7) and up-to-date (avr-gcc 4.6.2, avr-libc 1.8.0) build environments. See Issue 1 for more details.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#ifndef __PGMTYPES__
|
||||
#define __PGMTYPES__
|
||||
|
||||
typedef void pm_void;
|
||||
typedef char pm_char;
|
||||
typedef unsigned char pm_uchar;
|
||||
typedef int8_t pm_int8_t;
|
||||
typedef uint8_t pm_uint8_t;
|
||||
typedef int16_t pm_int16_t;
|
||||
typedef uint16_t pm_uint16_t;
|
||||
typedef int32_t pm_int32_t;
|
||||
typedef uint32_t pm_uint32_t;
|
||||
|
||||
#endif /* __PGMTYPES__ */
|
||||
|
||||
Reference in New Issue
Block a user