diff options
| author | Keith Packard <keithp@keithp.com> | 2017-12-10 18:34:49 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-12-11 12:20:25 -0800 | 
| commit | 8ebecd364fd328e9c649c11729bddf58731aaafb (patch) | |
| tree | b388dbe788c78e04566e438ba797cf62f9fa93b2 /src/kernel/ao_task.h | |
| parent | b0de72d942eb87c5acd190878dd57ca4f812e8a1 (diff) | |
altos: Allow building with newlib + avr stdio on ARM
Redefines some stdio bits so that we can build with either pdclib or
newlib + avr stdio.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao_task.h')
| -rw-r--r-- | src/kernel/ao_task.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/ao_task.h b/src/kernel/ao_task.h index 30b018ff..7549b598 100644 --- a/src/kernel/ao_task.h +++ b/src/kernel/ao_task.h @@ -44,6 +44,9 @@ struct ao_task {  	ao_arch_task_members		/* any architecture-specific fields */  	uint8_t task_id;		/* unique id */  	__code char *name;		/* task name */ +#ifdef NEWLIB +	int __errno;			/* storage for errno in newlib libc */ +#endif  #if HAS_TASK_QUEUE  	struct ao_list	queue;  	struct ao_list	alarm_queue;  | 
