Define ENABLE_NLS and GETTEXT_PACKAGE.

2001-01-17  Tor Lillqvist  <tml@iki.fi>

	* config.h.win32.in: Define ENABLE_NLS and GETTEXT_PACKAGE.

	* makefile.mingw.in
	* makefile.msc.in: Use the GNU intl library.

	* gwin32.c (g_win32_get_package_installation_directory): New
	function. To be used by various GLib-using packages to get their
	installation directory, which should be stored in the Registry by
	some installer.

	* gwin32.h: Declare it.

	* testglib.c (main): Test it.

	* gutils.c: On Win32, define GLIB_LOCALE_DIR using
	g_win32_get_package_installation_directory().

	* glib.def: Update.
This commit is contained in:
Tor Lillqvist
2001-01-16 22:06:23 +00:00
committed by Tor Lillqvist
parent 62ce81bfc7
commit a9d05d4cc4
23 changed files with 321 additions and 10 deletions

View File

@@ -110,6 +110,8 @@ gchar * g_win32_getlocale (void);
*/
gchar * g_win32_error_message (gint error);
gchar * g_win32_get_package_installation_directory (gchar *package);
G_END_DECLS
#endif /* G_OS_WIN32 */