diff options
| author | jsorg71 <jsorg71> | 2005-06-28 03:04:36 +0000 |
|---|---|---|
| committer | jsorg71 <jsorg71> | 2005-06-28 03:04:36 +0000 |
| commit | 41df89c7f2da57650948967a78afa352a3dfc4b6 (patch) | |
| tree | 1c7b4c36287fe3ab3a212a3808f76fbfe895b09a /common/arch.h | |
| parent | fd4beef2df71d8c44e8de47a476f319d1d49a038 (diff) | |
| download | xrdp-proprietary-41df89c7f2da57650948967a78afa352a3dfc4b6.tar.gz xrdp-proprietary-41df89c7f2da57650948967a78afa352a3dfc4b6.zip | |
moved some files around
Diffstat (limited to 'common/arch.h')
| -rw-r--r-- | common/arch.h | 19 |
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 |
