--- rxvt-unicode/src/rxvtutil.h 2014/11/12 12:12:02 1.62 +++ rxvt-unicode/src/rxvtutil.h 2019/06/25 03:35:01 1.64 @@ -3,7 +3,10 @@ #include #include + +#define ECB_NO_THREADS 1 #include "ecb.h" + #include "estl.h" #include "emman.h" @@ -24,8 +27,6 @@ template static inline T clamp (T v, U a, V b) { return v < (T)a ? a : v >(T)b ? b : v; } template static inline void clamp_it (T &v, U a, V b) { v = v < (T)a ? a : v >(T)b ? b : v; } -template static inline T squared_diff (T a, T b) { return (a - b) * (a - b); } - // linear interpolation template static inline T