]> granicus.if.org Git - flex/commitdiff
better fix for #pragma portability problem
authorVern Paxson <vern@ee.lbl.gov>
Mon, 9 Jan 1995 21:02:03 +0000 (21:02 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Mon, 9 Jan 1995 21:02:03 +0000 (21:02 +0000)
flexdef.h

index 69dcaeebc31829fdfd62694f9ad7452897769ea8..eee441cf6954c7d47f1bd333f1e8aa7b7aaac647 100644 (file)
--- a/flexdef.h
+++ b/flexdef.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
 #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