diff -Naur graphite2-1.3.13-orig/src/inc/Main.h graphite2-1.3.13/src/inc/Main.h --- graphite2-1.3.13-orig/src/inc/Main.h 2018-12-20 09:28:50.000000000 +0300 +++ graphite2-1.3.13/src/inc/Main.h 2019-04-06 15:26:42.765875964 +0300 @@ -83,7 +83,9 @@ #define HAVE_BUILTIN_OVERFLOW #endif #elif defined(__GNUC__) && (__GNUC__ >= 5) && !defined(__INTEL_COMPILER) - #define HAVE_BUILTIN_OVERFLOW + #if !(defined __LCC__ && __LCC__ <= 123) + #define HAVE_BUILTIN_OVERFLOW + #endif #endif #if defined(__has_include) #if __has_include() && !defined(__CYGWIN__)