Mercurial > hg > xemacs-beta
diff src/emacs.c @ 1792:6fcd90c626a7
[xemacs-hg @ 2003-11-14 22:59:23 by james]
ICC also understands typeof.
author | james |
---|---|
date | Fri, 14 Nov 2003 22:59:28 +0000 |
parents | 7580e52a8218 |
children | 19c89a2e24b6 |
line wrap: on
line diff
--- a/src/emacs.c Fri Nov 14 22:50:44 2003 +0000 +++ b/src/emacs.c Fri Nov 14 22:59:28 2003 +0000 @@ -3338,7 +3338,8 @@ /* Disable all calls to free() when XEmacs is exiting and it doesn't */ /* matter. */ __free_hook = -#ifdef __GNUC__ /* prototype of __free_hook varies with glibc version */ +#if defined (__GNUC__) || defined (__ICC) + /* prototype of __free_hook varies with glibc version */ (__typeof__ (__free_hook)) #endif voodoo_free_hook; @@ -3403,7 +3404,8 @@ #if defined (GNU_MALLOC) __free_hook = -#ifdef __GNUC__ /* prototype of __free_hook varies with glibc version */ +#if defined (__GNUC__) || defined (__ICC) + /* prototype of __free_hook varies with glibc version */ (__typeof__ (__free_hook)) #endif voodoo_free_hook;