From 44bd86333a86e449cb84983e9b58b100ed79960d Mon Sep 17 00:00:00 2001 From: Antonio Linares Date: Sun, 23 Oct 2005 07:13:09 +0000 Subject: [PATCH] Minor fix to support define HB_NO_DEFAULT_API_MACROS (if used) required by Microsoft compiler --- harbour/source/rdd/hbsix/sxcrypt.c | 3 +++ harbour/source/rdd/hsx/hsx.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/harbour/source/rdd/hbsix/sxcrypt.c b/harbour/source/rdd/hbsix/sxcrypt.c index 69de957c21..c7fd4ab056 100644 --- a/harbour/source/rdd/hbsix/sxcrypt.c +++ b/harbour/source/rdd/hbsix/sxcrypt.c @@ -55,6 +55,9 @@ * */ +#ifdef HB_NO_DEFAULT_API_MACROS +#include "hbapiitm.h" +#endif #include "hbsxfunc.h" #define rnd_mul1 0x0de6d diff --git a/harbour/source/rdd/hsx/hsx.c b/harbour/source/rdd/hsx/hsx.c index 7053971fea..01ff5036c0 100644 --- a/harbour/source/rdd/hsx/hsx.c +++ b/harbour/source/rdd/hsx/hsx.c @@ -220,6 +220,9 @@ */ #include "hbapi.h" +#ifdef HB_NO_DEFAULT_API_MACROS +#include "hbapiitm.h" +#endif #include "hbapifs.h" #include "hbapirdd.h" #include "hbapierr.h"