summaryrefslogtreecommitdiffstats
path: root/common/arch.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-06-28 03:04:36 +0000
committerjsorg71 <jsorg71>2005-06-28 03:04:36 +0000
commit41df89c7f2da57650948967a78afa352a3dfc4b6 (patch)
tree1c7b4c36287fe3ab3a212a3808f76fbfe895b09a /common/arch.h
parentfd4beef2df71d8c44e8de47a476f319d1d49a038 (diff)
downloadxrdp-proprietary-41df89c7f2da57650948967a78afa352a3dfc4b6.tar.gz
xrdp-proprietary-41df89c7f2da57650948967a78afa352a3dfc4b6.zip
moved some files around
Diffstat (limited to 'common/arch.h')
-rw-r--r--common/arch.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/common/arch.h b/common/arch.h
index c63db197..b8d61381 100644
--- a/common/arch.h
+++ b/common/arch.h
@@ -18,6 +18,9 @@
*/
+#if !defined(ARCH_H)
+#define ARCH_H
+
/* check endianess */
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define L_ENDIAN
@@ -39,3 +42,19 @@
#define THREAD_RV void*
#define THREAD_CC
#endif
+
+#if defined(__BORLANDC__)
+#define APP_CC __cdecl
+#define DEFAULT_CC __cdecl
+#else
+#define APP_CC
+#define DEFAULT_CC
+#endif
+
+#if defined(_WIN32)
+#define EXPORT_CC __declspec(dllexport)
+#else
+#define EXPORT_CC
+#endif
+
+#endif