]> granicus.if.org Git - icu/commitdiff
ICU-10617 Fix library suffix macro definition
authorMichael Ow <mow@svn.icu-project.org>
Thu, 9 Jan 2014 19:18:40 +0000 (19:18 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Thu, 9 Jan 2014 19:18:40 +0000 (19:18 +0000)
X-SVN-Rev: 34845

icu4c/source/common/unicode/uconfig.h

index ef4ba94d9bd6fee20ae18f51e0a60037fa01efbe..0c6d86ee20bdb720187ca97602665afa0a27efc7 100644 (file)
@@ -1,6 +1,6 @@
 /*  
 **********************************************************************
-*   Copyright (C) 2002-2013, International Business Machines
+*   Copyright (C) 2002-2014, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 *   file name:  uconfig.h
 #ifdef U_LIB_SUFFIX_C_NAME_STRING
     /* Use the predefined value. */
 #elif defined(U_LIB_SUFFIX_C_NAME)
-#   define U_LIB_SUFFIX_C_NAME_STRING #U_LIB_SUFFIX_C_NAME
+#   define CONVERT_TO_STRING(s) #s
+#   define U_LIB_SUFFIX_C_NAME_STRING CONVERT_TO_STRING(U_LIB_SUFFIX_C_NAME)
 #else
 #   define U_LIB_SUFFIX_C_NAME_STRING ""
 #endif