portHAS_STACK_OVERFLOW_CHECKING was getting defined too late before
being used in portable.h for the platforms that do not have stack
overflow checking registers. This commit ensures that it is defined
before it is used.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2646
1d2547de-c912-0410-9cb9-
b8ca96c0e9e2
#define portALLOCATE_SECURE_CONTEXT( ulSecureStackSize )\r
#endif\r
\r
-#ifndef portHAS_STACK_OVERFLOW_CHECKING\r
- #define portHAS_STACK_OVERFLOW_CHECKING 0\r
-#endif\r
-\r
#ifndef configUSE_TIME_SLICING\r
#define configUSE_TIME_SLICING 1\r
#endif\r
#define portNUM_CONFIGURABLE_REGIONS 1\r
#endif\r
\r
+#ifndef portHAS_STACK_OVERFLOW_CHECKING\r
+ #define portHAS_STACK_OVERFLOW_CHECKING 0\r
+#endif\r
+\r
#ifdef __cplusplus\r
extern "C" {\r
#endif\r