OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * | 3 * |
4 * Copyright (C) 1997-2010, International Business Machines | 4 * Copyright (C) 1997-2010, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ****************************************************************************** | 7 ****************************************************************************** |
8 * | 8 * |
9 * Note: autoconf creates platform.h from platform.h.in at configure time. | 9 * Note: autoconf creates platform.h from platform.h.in at configure time. |
10 * | 10 * |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 | 291 |
292 #define U_HAVE_MMAP @HAVE_MMAP@ | 292 #define U_HAVE_MMAP @HAVE_MMAP@ |
293 #define U_HAVE_POPEN @U_HAVE_POPEN@ | 293 #define U_HAVE_POPEN @U_HAVE_POPEN@ |
294 | 294 |
295 /** @} */ | 295 /** @} */ |
296 | 296 |
297 /*===========================================================================*/ | 297 /*===========================================================================*/ |
298 /** @{ Symbol import-export control
*/ | 298 /** @{ Symbol import-export control
*/ |
299 /*===========================================================================*/ | 299 /*===========================================================================*/ |
300 | 300 |
301 #if @U_USE_GCC_VISIBILITY_ATTRIBUTE@ | 301 #ifdef U_STATIC_IMPLEMENTATION |
| 302 #define U_EXPORT |
| 303 #elif @U_USE_GCC_VISIBILITY_ATTRIBUTE@ |
302 #define U_EXPORT __attribute__((visibility("default"))) | 304 #define U_EXPORT __attribute__((visibility("default"))) |
303 #elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550) \ | 305 #elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550) \ |
304 || (defined(__SUNPRO_C) && __SUNPRO_C >= 0x550) | 306 || (defined(__SUNPRO_C) && __SUNPRO_C >= 0x550) |
305 #define U_EXPORT __global | 307 #define U_EXPORT __global |
306 /*#elif defined(__HP_aCC) || defined(__HP_cc) | 308 /*#elif defined(__HP_aCC) || defined(__HP_cc) |
307 #define U_EXPORT __declspec(dllexport)*/ | 309 #define U_EXPORT __declspec(dllexport)*/ |
308 #else | 310 #else |
309 #define U_EXPORT | 311 #define U_EXPORT |
310 #endif | 312 #endif |
311 | 313 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 #if U_HAVE_LIB_SUFFIX | 394 #if U_HAVE_LIB_SUFFIX |
393 # ifndef U_ICU_ENTRY_POINT_RENAME | 395 # ifndef U_ICU_ENTRY_POINT_RENAME |
394 /* Renaming pattern: u_strcpy_41_suffix */ | 396 /* Renaming pattern: u_strcpy_41_suffix */ |
395 # define U_ICU_ENTRY_POINT_RENAME(x) x ## _ ## @LIB_VERSION_MAJOR@ ## @ICULI
BSUFFIXCNAME@ | 397 # define U_ICU_ENTRY_POINT_RENAME(x) x ## _ ## @LIB_VERSION_MAJOR@ ## @ICULI
BSUFFIXCNAME@ |
396 # define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt##@ICULIBSUFFIXCNAME@##ma
jor##minor##_dat | 398 # define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt##@ICULIBSUFFIXCNAME@##ma
jor##minor##_dat |
397 | 399 |
398 # endif | 400 # endif |
399 #endif | 401 #endif |
400 | 402 |
401 #endif | 403 #endif |
OLD | NEW |