]> granicus.if.org Git - flex/commitdiff
VMS POSIX stuff
authorVern Paxson <vern@ee.lbl.gov>
Sat, 4 Mar 1995 18:06:51 +0000 (18:06 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Sat, 4 Mar 1995 18:06:51 +0000 (18:06 +0000)
flexdef.h
main.c

index 58fdd190a39c52a650c968e6d4f4cbcdba05401b..cc241a74ca2d5ccf0e681f73a052de31b63c9898 100644 (file)
--- a/flexdef.h
+++ b/flexdef.h
 #endif
 
 #ifdef VMS
+#ifndef __VMS_POSIX
 #define unlink remove
 #define SHORT_FILE_NAMES
 #endif
+#endif
 
 #ifdef MS_DOS
 #define SHORT_FILE_NAMES
diff --git a/main.c b/main.c
index c9542ca9930bd2f97f6eecad44ba24f9aae973de..eb83a917ff564b5743b893bb808a3b8524bed71e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -937,10 +937,14 @@ _( "Variable trailing context rules entail a large performance penalty\n" ) );
                if ( do_stdinit )
                        {
                        outn( "#ifdef VMS" );
+                       outn( "#ifndef __VMS_POSIX" );
                        outn( yy_nostdinit );
                        outn( "#else" );
                        outn( yy_stdinit );
                        outn( "#endif" );
+                       outn( "#else" );
+                       outn( yy_stdinit );
+                       outn( "#endif" );
                        }
 
                else