Add #ifndef guards for SdkLog definition to fix conflicting definitions (#403)

This commit is contained in:
Archit Aggarwal 2020-11-12 11:10:12 -08:00 committed by GitHub
parent f06330768f
commit 6debf6a2c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 87 additions and 44 deletions

View file

@ -65,7 +65,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"