diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lread.c b/src/lread.c index 788e57b707f..02f7caadeda 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -46,10 +46,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 46 | 46 | ||
| 47 | #ifdef MSDOS | 47 | #ifdef MSDOS |
| 48 | #include "msdos.h" | 48 | #include "msdos.h" |
| 49 | #if __DJGPP__ == 2 && __DJGPP_MINOR__ < 5 | ||
| 50 | # define INFINITY __builtin_inf() | ||
| 51 | # define NAN __builtin_nan("") | ||
| 52 | #endif | ||
| 53 | #endif | 49 | #endif |
| 54 | 50 | ||
| 55 | #ifdef HAVE_NS | 51 | #ifdef HAVE_NS |
| @@ -74,6 +70,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 74 | 70 | ||
| 75 | #if IEEE_FLOATING_POINT | 71 | #if IEEE_FLOATING_POINT |
| 76 | # include <ieee754.h> | 72 | # include <ieee754.h> |
| 73 | # ifndef INFINITY | ||
| 74 | # define INFINITY ((union ieee754_double) {.ieee = {.exponent = -1}}.d) | ||
| 75 | # endif | ||
| 77 | #endif | 76 | #endif |
| 78 | 77 | ||
| 79 | /* The objects or placeholders read with the #n=object form. | 78 | /* The objects or placeholders read with the #n=object form. |