]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/include/FreeRTOS.h
Prepare for V9.0.0 release.
[freertos] / FreeRTOS / Source / include / FreeRTOS.h
index 0010ce12fa606a95f3efd2ede0a7f19417976027..e87484350930fb0ff46ac182ddffe64e2b5ae62e 100644 (file)
@@ -103,6 +103,11 @@ extern "C" {
 /* Definitions specific to the port being used. */\r
 #include "portable.h"\r
 \r
+/* Must be defaulted before configUSE_NEWLIB_REENTRANT is used below. */\r
+#ifndef configUSE_NEWLIB_REENTRANT\r
+       #define configUSE_NEWLIB_REENTRANT 0\r
+#endif\r
+\r
 /* Required if struct _reent is used. */\r
 #if ( configUSE_NEWLIB_REENTRANT == 1 )\r
        #include <reent.h>\r
@@ -727,10 +732,6 @@ extern "C" {
        #define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS 0\r
 #endif\r
 \r
-#ifndef configUSE_NEWLIB_REENTRANT\r
-       #define configUSE_NEWLIB_REENTRANT 0\r
-#endif\r
-\r
 #ifndef configUSE_STATS_FORMATTING_FUNCTIONS\r
        #define configUSE_STATS_FORMATTING_FUNCTIONS 0\r
 #endif\r