#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" {
#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. */
#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" {
#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. */
#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" {
#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. */