diff options
author | Will Estes <wlestes@users.sourceforge.net> | 2002-04-23 10:23:10 +0000 |
---|---|---|
committer | Will Estes <wlestes@users.sourceforge.net> | 2002-04-23 10:23:10 +0000 |
commit | d19651592dab82f26273409a6b7ec2e49dfd22ae (patch) | |
tree | 388800ad10c24f863dbe3ce211f3a23afbe15dcb /main.c | |
parent | 0780bdf0efc2cf929740b151b9eeda15305b155c (diff) |
conditional compile gettext initialization
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -182,9 +182,11 @@ char **argv; /* Wrapper around flex_main, so flex_main can be built as a library. */ int main( argc, argv ) { +#if ENABLE_NLS setlocale(LC_MESSAGES, ""); textdomain(PACKAGE); bindtextdomain(PACKAGE, LOCALEDIR); +#endif return flex_main(argc,argv); } |