From 0d5d71fb7b86365cabc8fc73e13873f2b9dd9f1a Mon Sep 17 00:00:00 2001 From: Dave Thaler Date: Fri, 16 Sep 2016 15:58:17 -0700 Subject: [PATCH] Set defines before including platform_features.h This is needed since platform_features.h uses some of the ifdefs set in iotivity_config.h Change-Id: I93aa075f910ed9a4548a30d6a3fa5a6d0692ad9c Signed-off-by: Dave Thaler Reviewed-on: https://gerrit.iotivity.org/gerrit/11895 Reviewed-by: David Antler Tested-by: jenkins-iotivity Reviewed-by: Dan Mihai --- resource/c_common/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/c_common/SConscript b/resource/c_common/SConscript index feeb724..f634ea4 100644 --- a/resource/c_common/SConscript +++ b/resource/c_common/SConscript @@ -46,14 +46,14 @@ config_h_header = ''' #ifndef IOTIVITY_CONFIG_H__ #define IOTIVITY_CONFIG_H__ -#include "platform_features.h" - ''' % (str(target_os), str(target_arch), str(datetime.datetime.utcnow())) config_h_body = '' config_h_footer = ''' +#include "platform_features.h" + #endif // IOTIVITY_CONFIG_H__ ''' -- 2.7.4