From: Vern Paxson Date: Mon, 9 Jan 1995 21:02:03 +0000 (+0000) Subject: better fix for #pragma portability problem X-Git-Tag: flex-2-5-5b~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20e759777273de2d17a22bc5bcae78d2ce85d979;p=flex better fix for #pragma portability problem --- 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