X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fsysfloat.h;h=d80094aa9d6ea0ac4d2de9af1e590af38be64ad6;hp=0b2bb3e4af2f6a80013a94a4f24ab0a76c150eac;hb=c3cd708891dd33d498fa622524622fb097034479;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910 diff --git a/src/sysfloat.h b/src/sysfloat.h index 0b2bb3e..d80094a 100644 --- a/src/sysfloat.h +++ b/src/sysfloat.h @@ -20,6 +20,9 @@ Boston, MA 02111-1307, USA. */ /* Synched up with: Not really in FSF. */ +#ifndef INCLUDED_sysfloat_h_ +#define INCLUDED_sysfloat_h_ + /* Work around a problem that happens because math.h on hpux 7 defines two static variables--which, in Emacs, are not really static, because `static' is defined as nothing. The problem is that they are @@ -34,8 +37,7 @@ Boston, MA 02111-1307, USA. */ # define _NMAXLDBL THIS_FILENAME ## _nmaxldbl # endif -#if defined(MSDOS) || (defined(LINUX) && \ - !(defined (__GLIBC__) && (__GLIBC__ >= 2))) +#if defined(LINUX) && !(defined (__GLIBC__) && (__GLIBC__ >= 2)) /* These are redefined (correctly, but differently) in values.h. */ #undef INTBITS #undef LONGBITS @@ -44,7 +46,7 @@ Boston, MA 02111-1307, USA. */ #include -#ifdef WINDOWSNT +#ifdef WIN32_NATIVE /* A quirky way to obtain logb prototype */ #include #define logb _logb @@ -86,3 +88,4 @@ Boston, MA 02111-1307, USA. */ # define isnan(x) ((x) != (x)) #endif +#endif /* INCLUDED_sysfloat_h_ */