* initial fix for compiling Nim on Zephyr RTOS (issue #18684) Co-authored-by: Jaremy J. Creechley <jaremy.creechley@wavebaselabs.com>
This commit is contained in:
parent
883c04d444
commit
3a1109a53b
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@ __AVR__
|
|||
#endif
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && !defined(__ZEPHYR__)
|
||||
/* Zephyr does some magic in it's headers that override the GCC stdlib. This breaks that. */
|
||||
# define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue