< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-private.hh

Print this page

        

*** 1226,1241 **** /* fallback for round() */ #if !defined (HAVE_ROUND) && !defined (HAVE_DECL_ROUND) static inline double ! round (double x) { if (x >= 0) return floor (x + 0.5); else return ceil (x - 0.5); } #endif #endif /* HB_PRIVATE_HH */ --- 1226,1242 ---- /* fallback for round() */ #if !defined (HAVE_ROUND) && !defined (HAVE_DECL_ROUND) static inline double ! _hb_round (double x) { if (x >= 0) return floor (x + 0.5); else return ceil (x - 0.5); } + #define round(x) _hb_round(x) #endif #endif /* HB_PRIVATE_HH */
< prev index next >