]> git.donarmstrong.com Git - lilypond.git/commitdiff
gcc 3 fix
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 2 Aug 2002 09:56:39 +0000 (09:56 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 2 Aug 2002 09:56:39 +0000 (09:56 +0000)
lily/include/lily-guile.hh

index ed27782fb00408112e3fa35d57bb1151d0bdb5f1..bd8cb9ad4cdfcc50087b641aa6d2762d7824212c 100644 (file)
@@ -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\