X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsysfile.h;h=25c009d9e58af0c47a9c0e6afe133b556ed67c4c;hb=559a417fe0d606049dd4a63292c0e83c210f7a16;hp=a8f5405e8c5a0c7a3b4a7d1d71fa64771298ecf0;hpb=b50fd71ea3c920afc5ba60af567d73940993be3f;p=chise%2Fxemacs-chise.git.1 diff --git a/src/sysfile.h b/src/sysfile.h index a8f5405..25c009d 100644 --- a/src/sysfile.h +++ b/src/sysfile.h @@ -53,6 +53,11 @@ Boston, MA 02111-1307, USA. */ #ifndef WIN32_NATIVE /* Some configuration files' definitions for the LOAD_AVE_CVT macro (like sparc.h's) use macros like FSCALE, defined here. */ +#ifdef HAVE_GTK +/* I hate GTK */ +#undef MIN +#undef MAX +#endif /* HAVE_GTK */ #include #endif @@ -173,7 +178,7 @@ Boston, MA 02111-1307, USA. */ #define lstat xemacs_stat #endif -#if !S_IRUSR +#ifndef S_IRUSR # if S_IREAD # define S_IRUSR S_IREAD # else @@ -181,7 +186,7 @@ Boston, MA 02111-1307, USA. */ # endif #endif -#if !S_IWUSR +#ifndef S_IWUSR # if S_IWRITE # define S_IWUSR S_IWRITE # else @@ -189,7 +194,7 @@ Boston, MA 02111-1307, USA. */ # endif #endif -#if !S_IXUSR +#ifndef S_IXUSR # if S_IEXEC # define S_IXUSR S_IEXEC # else