1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #1990 from Kijewski/avr-ssize_t

avr: define ssize_t
This commit is contained in:
Martine Lenders 2014-11-11 13:01:24 +01:00
commit 54826c69d7
2 changed files with 7 additions and 1 deletions

View File

@ -40,7 +40,7 @@
# endif
# endif
# if defined (MODULE_MSP430_COMMON) || defined (MODULE_ATMEGA_COMMON)
# ifdef MODULE_MSP430_COMMON
typedef signed ssize_t;
# endif
#endif

View File

@ -9,4 +9,10 @@
#include <inttypes.h>
#include <stddef.h>
#ifndef AVR_TYPES_H
#define AVR_TYPES_H
typedef int16_t suseconds_t;
typedef signed int ssize_t;
#endif /* ifndef AVR_TYPES_H */