diff options
author | Will Estes <wlestes@users.sourceforge.net> | 2002-08-15 14:50:10 +0000 |
---|---|---|
committer | Will Estes <wlestes@users.sourceforge.net> | 2002-08-15 14:50:10 +0000 |
commit | 356da08a8eae40dd8f8edd31de0f9b5a12ba3014 (patch) | |
tree | 4c5133d635f02f680d5b63c958a1d2ecd042db86 /main.c | |
parent | 39e6b9fb7cdbddcd0dbf44ea2d62e0714a643213 (diff) |
conditionally include <locale.h>; include config.h as well
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 20 |
1 files changed, 5 insertions, 15 deletions
@@ -30,13 +30,11 @@ /* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ /* PURPOSE. */ - -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1990 The Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - + +#include <config.h> +#ifdef ENABLE_NLS +#include <locale.h> +#endif /* ENABLE_NLS */ #include "flexdef.h" #include "version.h" #include "options.h" @@ -120,10 +118,6 @@ static char *outfile_template = "lex%s.%s"; static char *backing_name = "lex.bck"; #endif -#ifdef THINK_C -#include <console.h> -#endif - #ifdef MS_DOS extern unsigned _stklen = 16384; #endif @@ -153,10 +147,6 @@ char *argv[]; if ( exit_status ) return exit_status - 1; -#ifdef THINK_C - argc = ccommand( &argv ); -#endif - flexinit( argc, argv ); readin(); |