1 /* 2 ***************************************************************************************** 3 * Copyright (C) 2004-2011, International Business Machines 4 * Corporation and others. All Rights Reserved. 5 ***************************************************************************************** 6 */ 7 8 #include "unicode/utypes.h" 9 10 /*Deals with imports and exports of the dynamic library*/ 11 #if !defined(U_STATIC_IMPLEMENTATION) 12 #define T_CTEST_EXPORT U_EXPORT 13 #define T_CTEST_IMPORT U_IMPORT 14 #else 15 #define T_CTEST_EXPORT 16 #define T_CTEST_IMPORT 17 #endif 18 19 #if defined(_MSC_VER) 20 #define T_CTEST_EXPORT2 __cdecl 21 #else 22 #define T_CTEST_EXPORT2 23 #endif 24 25 #ifdef __cplusplus 26 #define C_CTEST_API extern "C" 27 U_NAMESPACE_USE 28 #else 29 #define C_CTEST_API 30 #endif 31 32 #ifdef T_CTEST_IMPLEMENTATION 33 #define T_CTEST_API C_CTEST_API T_CTEST_EXPORT 34 #define T_CTEST_EXPORT_API T_CTEST_EXPORT 35 #else 36 #define T_CTEST_API C_CTEST_API T_CTEST_IMPORT 37 #define T_CTEST_EXPORT_API T_CTEST_IMPORT 38 #endif 39 40