Test _MSDOS as well as _MSDOS_.

This commit is contained in:
Richard M. Stallman
1996-08-12 22:17:15 +00:00
parent b6287af6f6
commit 32d5c018d8
3 changed files with 12 additions and 12 deletions

View File

@@ -37,13 +37,13 @@
#else /* not sparc */
/* This used to test MSDOS, but that is a bad idea
since that is in the user namespace. */
#if defined (_MSDOS_) && !defined (__TURBOC__)
#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
#include <malloc.h>
#else /* not _MSDOS_, or __TURBOC__ */
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
#include <malloc.h>
#pragma alloca
#else /* not MSDOS, __TURBOC__, or _AIX */
#else /* not MSDOS, or __TURBOC__, or _AIX */
#ifdef __hpux
#ifdef __cplusplus
extern "C" {
@@ -54,7 +54,7 @@ void *alloca ();
#endif /* not __cplusplus */
#endif /* __hpux */
#endif /* not _AIX */
#endif /* not _MSDOS_, or __TURBOC__ */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc. */
#endif /* not GNU C. */
#endif /* alloca not defined. */

View File

@@ -37,13 +37,13 @@
#else /* not sparc */
/* This used to test MSDOS, but that is a bad idea
since that is in the user namespace. */
#if defined (_MSDOS_) && !defined (__TURBOC__)
#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
#include <malloc.h>
#else /* not _MSDOS_, or __TURBOC__ */
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
#include <malloc.h>
#pragma alloca
#else /* not MSDOS, __TURBOC__, or _AIX */
#else /* not MSDOS, or __TURBOC__, or _AIX */
#ifdef __hpux
#ifdef __cplusplus
extern "C" {
@@ -54,7 +54,7 @@ void *alloca ();
#endif /* not __cplusplus */
#endif /* __hpux */
#endif /* not _AIX */
#endif /* not _MSDOS_, or __TURBOC__ */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc. */
#endif /* not GNU C. */
#endif /* alloca not defined. */

View File

@@ -37,13 +37,13 @@
#else /* not sparc */
/* This used to test MSDOS, but that is a bad idea
since that is in the user namespace. */
#if defined (_MSDOS_) && !defined (__TURBOC__)
#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
#include <malloc.h>
#else /* not _MSDOS_, or __TURBOC__ */
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
#include <malloc.h>
#pragma alloca
#else /* not MSDOS, __TURBOC__, or _AIX */
#else /* not MSDOS, or __TURBOC__, or _AIX */
#ifdef __hpux
#ifdef __cplusplus
extern "C" {
@@ -54,7 +54,7 @@ void *alloca ();
#endif /* not __cplusplus */
#endif /* __hpux */
#endif /* not _AIX */
#endif /* not _MSDOS_, or __TURBOC__ */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc. */
#endif /* not GNU C. */
#endif /* alloca not defined. */