summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1995-01-09 21:02:03 +0000
committerVern Paxson <vern@ee.lbl.gov>1995-01-09 21:02:03 +0000
commit20e759777273de2d17a22bc5bcae78d2ce85d979 (patch)
tree197ca81fe0311e8e43552cc5bc008318e2d7efcf /flexdef.h
parent2d9f33ba3d4db5355c7b61386b408a08662f00cd (diff)
better fix for #pragma portability problem
Diffstat (limited to 'flexdef.h')
-rw-r--r--flexdef.h21
1 files changed, 6 insertions, 15 deletions
diff --git a/flexdef.h b/flexdef.h
index 69dcaee..eee441c 100644
--- a/flexdef.h
+++ b/flexdef.h
@@ -33,27 +33,18 @@
#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
#ifndef __STDC__
#define __STDC__ 1
#endif
-#pragma warn -pro
-#pragma warn -rch
-#pragma warn -use
-#pragma warn -aus
-#pragma warn -par
-#pragma warn -pia
-#endif
-#ifndef __TURBOC__
- close open comment above */
+ #pragma warn -pro
+ #pragma warn -rch
+ #pragma warn -use
+ #pragma warn -aus
+ #pragma warn -par
+ #pragma warn -pia
#endif
#ifdef HAVE_STRING_H