From f685ed371384e1c3d0d7056ad355edf77a360a49 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 4 Aug 2008 18:29:09 +0000 Subject: [PATCH] 2008-08-04 20:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbdefs.h ! Fixed 4 remaining warnings in BCC 5.8.2 builds. Many thanks to Przemek for the patch. NOTE: Now BCC58 core is warning-free and there are two warnings in its own header files, exploited by contrib hbcurl/libcurl. --- harbour/ChangeLog | 8 ++++++++ harbour/include/hbdefs.h | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 384dc01286..baeb1f1bfb 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,14 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-08-04 20:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * include/hbdefs.h + ! Fixed 4 remaining warnings in BCC 5.8.2 builds. + Many thanks to Przemek for the patch. + NOTE: Now BCC58 core is warning-free and there are + two warnings in its own header files, exploited + by contrib hbcurl/libcurl. + 2008-08-04 16:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * harbour-ce-spec * harbour-w32-spec diff --git a/harbour/include/hbdefs.h b/harbour/include/hbdefs.h index 99adf18a0d..a7e9abbe84 100644 --- a/harbour/include/hbdefs.h +++ b/harbour/include/hbdefs.h @@ -72,6 +72,10 @@ # if ( defined( __BORLANDC__ ) && __BORLANDC__ >= 1410 ) # undef INT32_MIN # define INT32_MIN ((int32_t) (-INT32_MAX-1)) +# undef INT64_MIN +# define INT64_MIN (9223372036854775807i64-1) +# undef INT64_MAX +# define INT64_MAX 9223372036854775807i64 # endif #endif