X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Femacs.c;h=6a01ca690af1069379afdb592475e0546da678de;hb=d45efb1e6cc9b913d12b7a0c51be3624488c3f96;hp=417e022d893e31e436214ead5b227c3058396a6f;hpb=0bedff1dadf7fdfd3811cd4352aa2570b5a54983;p=chise%2Fxemacs-chise.git- diff --git a/src/emacs.c b/src/emacs.c index 417e022..6a01ca6 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -181,6 +181,10 @@ version 18.59 released October 31, 1992. #include "sysfile.h" #include "systime.h" +#ifdef CYGWIN +#include "syswindows.h" +#endif + #ifdef PDUMP #include "dumper.h" #endif @@ -2911,7 +2915,8 @@ voodoo_free_hook (void *mem) /* 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 __INTEL_COMPILER +/* prototype of __free_hook varies with glibc version */ (__typeof__ (__free_hook)) #endif voodoo_free_hook; @@ -2985,7 +2990,8 @@ all of which are called before XEmacs is actually killed. #if defined(GNU_MALLOC) __free_hook = -#ifdef __GNUC__ /* prototype of __free_hook varies with glibc version */ +#if defined __GNUC__ || defined __INTEL_COMPILER +/* prototype of __free_hook varies with glibc version */ (__typeof__ (__free_hook)) #endif voodoo_free_hook;