mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-12-14 08:04:35 +08:00
Add #ifndef guards for SdkLog definition to fix conflicting definitions (#403)
This commit is contained in:
@@ -62,7 +62,9 @@ extern void vLoggingPrintf( const char * pcFormatString,
|
||||
|
||||
/* Map the SdkLog macro to the logging function to enable logging
|
||||
* on Windows simulator. */
|
||||
#define SdkLog( message ) vLoggingPrintf message
|
||||
#ifndef SdkLog
|
||||
#define SdkLog( message ) vLoggingPrintf message
|
||||
#endif
|
||||
|
||||
#include "logging_stack.h"
|
||||
|
||||
|
||||
@@ -57,7 +57,9 @@ extern void vLoggingPrintf( const char * pcFormatString,
|
||||
|
||||
/* Map the SdkLog macro to the logging function to enable logging
|
||||
* on Windows simulator. */
|
||||
#define SdkLog( message ) vLoggingPrintf message
|
||||
#ifndef SdkLog
|
||||
#define SdkLog( message ) vLoggingPrintf message
|
||||
#endif
|
||||
|
||||
#include "logging_stack.h"
|
||||
|
||||
|
||||
@@ -60,7 +60,9 @@ extern void vLoggingPrintf( const char * pcFormatString,
|
||||
|
||||
/* Map the SdkLog macro to the logging function to enable logging
|
||||
* on Windows simulator. */
|
||||
#define SdkLog( message ) vLoggingPrintf message
|
||||
#ifndef SdkLog
|
||||
#define SdkLog( message ) vLoggingPrintf message
|
||||
#endif
|
||||
|
||||
#include "logging_stack.h"
|
||||
|
||||
|
||||
@@ -52,7 +52,9 @@ extern void vLoggingPrintf( const char * pcFormatString,
|
||||
|
||||
/* Map the SdkLog macro to the logging function to enable logging
|
||||
* on Windows simulator. */
|
||||
#define SdkLog( message ) vLoggingPrintf message
|
||||
#ifndef SdkLog
|
||||
#define SdkLog( message ) vLoggingPrintf message
|
||||
#endif
|
||||
|
||||
#include "logging_stack.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user