diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 74136e118c..ec11e5330b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2012-07-04 12:59 UTC+0200 Tamas TEVESZ (ice extreme.hu) + * contrib/xhb/filestat.c + ! Use consistent conditions as the rest of the code + 2012-07-04 12:43 UTC+0200 Viktor Szakats (harbour syenar.net) * doc/en/set.txt * doc/en/string.txt diff --git a/harbour/contrib/xhb/filestat.c b/harbour/contrib/xhb/filestat.c index 08c4a3f10a..5db9d70494 100644 --- a/harbour/contrib/xhb/filestat.c +++ b/harbour/contrib/xhb/filestat.c @@ -94,7 +94,7 @@ HB_FUNC( FILESTATS ) // determine if we can read/write/execute the file HB_FATTR usAttr, ushbAttr = 0; time_t ftime; -#if _POSIX_C_SOURCE >= 199506L +#if defined( HB_HAS_LOCALTIME_R ) struct tm tms; #endif struct tm *ptms;