Skip to content

Commit 727e46a

Browse files
committed
fix: warning condition to manage newlib version > 3.x
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 0ab4bbd commit 727e46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

portable/MemMang/heap_useNewlib_ST.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
#include <stddef.h>
7474

7575
#include "newlib.h"
76-
#if ((__NEWLIB__ == 2) && (__NEWLIB_MINOR__ < 5)) ||((__NEWLIB__ == 3) && (__NEWLIB_MINOR__ > 3))
76+
#if ((__NEWLIB__ == 2) && (__NEWLIB_MINOR__ < 5)) || ((__NEWLIB__ == 3) && (__NEWLIB_MINOR__ > 3)) || (__NEWLIB__ > 3)
7777
#warning "This wrapper was verified for newlib versions 2.5 - 3.3; please ensure newlib's external requirements for malloc-family are unchanged!"
7878
#endif
7979

0 commit comments

Comments
 (0)