From 2e8e0c6bc60066022b0feaed03c6056605cc9539 Mon Sep 17 00:00:00 2001 From: Tamas Tevesz Date: Wed, 4 Jul 2012 11:26:13 +0000 Subject: [PATCH] 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 --- harbour/ChangeLog | 4 ++++ harbour/contrib/xhb/filestat.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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;