diff options
Diffstat (limited to 'Build/source/libs/icu/icu-4.6/tools/ctestfw/unicode/testtype.h')
-rw-r--r-- | Build/source/libs/icu/icu-4.6/tools/ctestfw/unicode/testtype.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.6/tools/ctestfw/unicode/testtype.h b/Build/source/libs/icu/icu-4.6/tools/ctestfw/unicode/testtype.h new file mode 100644 index 00000000000..6deb1cdff09 --- /dev/null +++ b/Build/source/libs/icu/icu-4.6/tools/ctestfw/unicode/testtype.h @@ -0,0 +1,39 @@ +/* + ***************************************************************************************** + * Copyright (C) 2004-2007, International Business Machines + * Corporation and others. All Rights Reserved. + ***************************************************************************************** + */ + +#include "unicode/utypes.h" + +/*Deals with imports and exports of the dynamic library*/ +#if !defined(U_STATIC_IMPLEMENTATION) + #define T_CTEST_EXPORT U_EXPORT + #define T_CTEST_IMPORT U_IMPORT +#else + #define T_CTEST_EXPORT + #define T_CTEST_IMPORT +#endif + +#if defined(U_WINDOWS) +#define T_CTEST_EXPORT2 __cdecl +#else +#define T_CTEST_EXPORT2 +#endif + +#ifdef __cplusplus + #define C_CTEST_API extern "C" + U_NAMESPACE_USE +#else + #define C_CTEST_API +#endif + +#ifdef T_CTEST_IMPLEMENTATION + #define T_CTEST_API C_CTEST_API T_CTEST_EXPORT + #define T_CTEST_EXPORT_API T_CTEST_EXPORT +#else + #define T_CTEST_API C_CTEST_API T_CTEST_IMPORT + #define T_CTEST_EXPORT_API T_CTEST_IMPORT +#endif + |