summaryrefslogtreecommitdiffstats
path: root/common/arch.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-05-31 23:36:17 +0000
committerjsorg71 <jsorg71>2007-05-31 23:36:17 +0000
commit829a1bb00d10fe6b1acc53fe7464479f58ecc22e (patch)
tree2a75f15a2e81d8b7397ad840d73581cf15a0ff47 /common/arch.h
parentc80aef9b5bf0bdca0da018a10ab870ad62cf2064 (diff)
downloadxrdp-proprietary-829a1bb00d10fe6b1acc53fe7464479f58ecc22e.tar.gz
xrdp-proprietary-829a1bb00d10fe6b1acc53fe7464479f58ecc22e.zip
win32 changes
Diffstat (limited to 'common/arch.h')
-rw-r--r--common/arch.h6
1 files changed, 5 insertions, 1 deletions
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;