diff -r a9b4af71cfa4 -r 4debc565109d lib/iec_std_lib.h --- a/lib/iec_std_lib.h Wed Jun 25 18:47:07 2008 +0200 +++ b/lib/iec_std_lib.h Fri Jun 27 09:29:27 2008 +0200 @@ -97,7 +97,7 @@ typedef IEC_DT DT; typedef IEC_TOD TOD; -#define __TIME_CMP(t1, t2) (t2.tv_sec == t1.tv_sec ? t2.tv_nsec - t1.tv_nsec : t1.tv_sec - t2.tv_sec) +#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; typedef IEC_STRING STRING;