]> granicus.if.org Git - flex/commitdiff
Removed MS-DOS, VMS macros.
authorMichael McConville <mmcco@mykolab.com>
Sat, 12 Dec 2015 04:42:19 +0000 (23:42 -0500)
committerWill Estes <westes575@gmail.com>
Sat, 12 Dec 2015 19:19:37 +0000 (14:19 -0500)
Given the age of the MS-DOS and VMS platforms, it's likely that no one is building flex on them any more. Additionally, the preferred approach is to test for particular platform features rather than to test for particular platforms.

src/flexdef.h

index 3aa63df5f43dcc672761aa1aec674f8d78594c1e..ee75efc85038406c763f7d88a9917f363fcbc194 100644 (file)
 #endif
 #endif
 
-#ifdef VMS
-#ifndef __VMS_POSIX
-#define unlink remove
-#define SHORT_FILE_NAMES
-#endif
-#endif
-
-#ifdef MS_DOS
-#define SHORT_FILE_NAMES
-#endif
-
-
 /* Maximum line length we'll have to deal with. */
 #define MAXLINE 2048