From 829a1bb00d10fe6b1acc53fe7464479f58ecc22e Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Thu, 31 May 2007 23:36:17 +0000 Subject: [PATCH] win32 changes --- common/arch.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/arch.h b/common/arch.h index 331b3523..2f3c51a2 100644 --- a/common/arch.h +++ b/common/arch.h @@ -48,7 +48,7 @@ #define THREAD_CC #endif -#if defined(__BORLANDC__) +#if defined(__BORLANDC__) || defined(_WIN32) #define APP_CC __fastcall #define DEFAULT_CC __cdecl #else @@ -57,10 +57,14 @@ #endif #if defined(_WIN32) +#if defined(__BORLANDC__) #define EXPORT_CC _export __cdecl #else #define EXPORT_CC #endif +#else +#define EXPORT_CC +#endif typedef char ti8; typedef unsigned char tui8;