]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/decNumberLocal.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / decNumberLocal.h
index f6c291a9ad335917a4afc6cc5ccbe8728f74b221..e8d1b38653eb9d2b9edc8818ec0dc0e2f913c9f5 100644 (file)
   /* 2,000,000,000 (as is needed for negative exponents of            */
   /* subnormals).  The unsigned integer pow is used as a temporary    */
   /* variable. */
-  #define TODIGIT(u, cut, c, pow) {       \
+  #define TODIGIT(u, cut, c, pow) UPRV_BLOCK_MACRO_BEGIN { \
     *(c)='0';                             \
     pow=DECPOWERS[cut]*2;                 \
     if ((u)>pow) {                        \
     if ((u)>=pow) {(u)-=pow; *(c)+=2;}    \
     pow/=2;                               \
     if ((u)>=pow) {(u)-=pow; *(c)+=1;}    \
-    }
+    } UPRV_BLOCK_MACRO_END
 
   /* ---------------------------------------------------------------- */
   /* Definitions for fixed-precision modules (only valid after        */