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