# HG changeset patch # User etisserant # Date 1220774891 -7200 # Node ID 8c0366d41e8470d65898789d73a60ec339104b3f # Parent 668a5468682784bc2931a4cdbe66ef8b7e0053a5 Added __DEBUG global var to eventually change PLC code execution diff -r 668a54686827 -r 8c0366d41e84 lib/iec_std_lib.h --- a/lib/iec_std_lib.h Thu Aug 21 16:08:19 2008 +0200 +++ b/lib/iec_std_lib.h Sun Sep 07 10:08:11 2008 +0200 @@ -44,6 +44,7 @@ #define __TIME_CMP(t1, t2) (t2.tv_sec == t1.tv_sec ? t1.tv_nsec - t2.tv_nsec : t1.tv_sec - t2.tv_sec) extern TIME __CURRENT_TIME; +extern BOOL __DEBUG; #define __STR_CMP(str1, str2) memcmp((char*)&str1.body,(char*)&str2.body, str1.len < str2.len ? str1.len : str2.len)