mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Test _MSDOS as well as _MSDOS_.
This commit is contained in:
@@ -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. */
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user