search for: config_locale

Displaying 1 result from an estimated 1 matches for "config_locale".

Did you mean: config_local
2015 Jul 11
2
C coding tips please / Localisation
....c For my initial test I only made the following modifications. main.c ------ I added the following line ... #include <libintl.h> ... to the following section of code near the top of the file. #include "rsync.h" #include "inums.h" #include "io.h" #if defined CONFIG_LOCALE && defined HAVE_LOCALE_H #include <libintl.h> #include <locale.h> #endif extern int verbose; Further down, below a lot of "extern" declarations, I added the following line ... #define _(String) gettext (String) ... so that the code becomes as follows. extern struc...