summaryrefslogtreecommitdiff
path: root/hwpfilter/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-24 21:45:17 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-24 21:54:18 +0100
commit4838eb97ec69efb9576608dd4d967ae0ec418b6a (patch)
tree58bf3f3d10022fe180b360c01f66f17f99c3aedd /hwpfilter/source
parent228a0c4d817255e72536bb0db5146fa704423988 (diff)
Remove MSDOS support
Diffstat (limited to 'hwpfilter/source')
-rw-r--r--hwpfilter/source/grammar.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/hwpfilter/source/grammar.cpp b/hwpfilter/source/grammar.cpp
index b1e9279a9e85..2afc1d897490 100644
--- a/hwpfilter/source/grammar.cpp
+++ b/hwpfilter/source/grammar.cpp
@@ -428,24 +428,10 @@ static const short yycheck[] = { 11,
#define YYSTACK_USE_ALLOCA
#include <sal/alloca.h>
#else /* not sparc */
-/* We think this test detects Watcom and Microsoft C. */
-/* This used to test MSDOS, but that is a bad idea
- since that symbol is in the user namespace. */
-#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
-#if 0 /* No need for malloc.h, which pollutes the namespace;
- instead, just don't use alloca. */
-#include <malloc.h>
-#endif
-#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
-/* I don't know what this was needed for, but it pollutes the namespace.
- So I turned it off. rms, 2 May 1997. */
-/* #include <malloc.h> */
#pragma alloca
#define YYSTACK_USE_ALLOCA
-#else /* not MSDOS, or __TURBOC__, or _AIX */
#endif /* not _AIX */
-#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc */
#endif /* not GNU C */
#endif /* alloca not defined */