Define NSLog macro. Fixes #3427

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
This commit is contained in:
Pedro Pombeiro 2018-02-23 13:49:05 +01:00 committed by Dmitry Novotochinov
parent 8bcd635451
commit fa26381407
No known key found for this signature in database
GPG Key ID: 267674DCC86628D9
3 changed files with 14 additions and 1 deletions

View File

@ -4,7 +4,7 @@ ETHEREUM_DEV_CLUSTER=1
MAINNET_NETWORKS_ENABLED=1
OFFLINE_INBOX_ENABLED=1
OFFLINE_INBOX_MANY_ENABLED=0
LOG_LEVEL=info
LOG_LEVEL=debug
LOG_LEVEL_STATUS_GO=info
JSC_ENABLED=1
QUEUE_MESSAGE_ENABLED=1

View File

@ -2245,6 +2245,8 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = StatusImPrefix.pch;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
@ -2309,6 +2311,8 @@
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = StatusImPrefix.pch;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;

9
ios/StatusImPrefix.pch Normal file
View File

@ -0,0 +1,9 @@
#ifndef StatusIm_Prefix_pch
#define StatusIm_Prefix_pch
// Include any system framework and library headers here that should be included in all compilation units.
// You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.
#import "TestFairy.h"
#define NSLog(s, ...) do { NSLog(s, ##__VA_ARGS__); TFLog(s, ##__VA_ARGS__); } while (0)
#endif /* StatusIm_Prefix_pch */