From c00b47a67d858e67f93a1833bb1a51a3ddb30d7d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 20 Aug 1999 12:52:19 +0000 Subject: [PATCH] 19990820-14:40 GMT+1 --- harbour/ChangeLog | 9 +++++++++ harbour/include/hbsetup.h | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 7c94c486a1..2232fa714e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,12 @@ +19990820-14:40 GMT+1 Victor Szel + * include/hbsetup.h + + HARBOUR_USE_GTAPI is automatically #defined if any type of the GTAPIs + is #defined. + So from now on only one of these should be #defined to turn on the GT: + #define HARBOUR_USE_DOS_GTAPI + #define HARBOUR_USE_OS2_GTAPI + #define HARBOUR_USE_WIN_GTAPI + 19990820-14:30 GMT+1 Victor Szel * source/compiler/harbour.y source/hbpp/hbpp.c diff --git a/harbour/include/hbsetup.h b/harbour/include/hbsetup.h index aba9702acd..58cd9d3147 100644 --- a/harbour/include/hbsetup.h +++ b/harbour/include/hbsetup.h @@ -109,11 +109,15 @@ * * By default they are disabled (symbols are not defined) */ -/*#define HARBOUR_USE_GTAPI*/ /*#define HARBOUR_USE_DOS_GTAPI*/ /*#define HARBOUR_USE_OS2_GTAPI*/ /*#define HARBOUR_USE_WIN_GTAPI*/ +/* Indicate that one of the GTAPIs is defined */ +#if defined(HARBOUR_USE_DOS_GTAPI) || defined(HARBOUR_USE_OS2_GTAPI) || defined(HARBOUR_USE_WIN_GTAPI) + #define HARBOUR_USE_GTAPI +#endif + /* *********************************************************************** * Operating system specific definitions */