From: hanwen Date: Fri, 2 Aug 2002 09:56:39 +0000 (+0000) Subject: gcc 3 fix X-Git-Tag: release/1.5.71~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=17f50ae599af8f8c9798a5ee448b2c6b4fc09ac3;p=lilypond.git gcc 3 fix --- diff --git a/lily/include/lily-guile.hh b/lily/include/lily-guile.hh index ed27782fb0..bd8cb9ad4c 100644 --- a/lily/include/lily-guile.hh +++ b/lily/include/lily-guile.hh @@ -134,7 +134,7 @@ SCM my_gh_symbol2scm (const char* x); */ #define ly_symbol2scm(x) ({ static SCM cached; \ SCM value = cached; /* We store this one locally, since G++ -O2 fucks up else */ \ - if ( get___builtin_constant ((x)))\ + if ( __builtin_constant_p ((x)))\ { if (!cached)\ value = cached = scm_gc_protect_object (my_gh_symbol2scm((x)));\ } else\