summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
authorvern <vern>1995-01-09 12:41:06 +0000
committervern <vern>1995-01-09 12:41:06 +0000
commit3f49f6709786f35dbba447334cc067e6b980d105 (patch)
tree7e43fefb3fd42cc6a0e00dc223680e3624cc22d1 /flexdef.h
parentf0d0222fa4673b904d1f1c4f001df6ba26a122bf (diff)
downloadflex-3f49f6709786f35dbba447334cc067e6b980d105.tar.gz
comment out Turbo C #pragma's
Diffstat (limited to 'flexdef.h')
-rw-r--r--flexdef.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/flexdef.h b/flexdef.h
index f3c11e2..dad9293 100644
--- a/flexdef.h
+++ b/flexdef.h
@@ -26,13 +26,19 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-/* @(#) $Header: /cvsroot/flex/flex/flexdef.h,v 2.46 1995/01/09 12:11:39 vern Exp $ (LBL) */
+/* @(#) $Header: /cvsroot/flex/flex/flexdef.h,v 2.47 1995/01/09 12:41:12 vern Exp $ (LBL) */
#include <stdio.h>
#include <ctype.h>
#include "config.h"
+#ifndef __TURBOC__
+/* Some C preprocessors barf when they see the following #pragma's,
+ * even though __TURBOC__ isn't defined so they should just skip them.
+ * So we comment them out by leaving this comment
+ open
+#endif
#ifdef __TURBOC__
#define HAVE_STRING_H 1
#define MS_DOS 1
@@ -46,6 +52,9 @@
#pragma warn -par
#pragma warn -pia
#endif
+#ifndef __TURBOC__
+ close open comment above */
+#endif
#ifdef HAVE_STRING_H
#include <string.h>