summaryrefslogtreecommitdiff
path: root/config.h.win32.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-01-16 22:06:23 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-01-16 22:06:23 +0000
commita9d05d4cc443a8c2e6675aca994c065305a8adb4 (patch)
tree5e1f81e5b1ccac5dcee1877fb5c8d693ab7fa9ed /config.h.win32.in
parent62ce81bfc7800a959d4355e9a8e5bd062b1ab019 (diff)
downloadglib-a9d05d4cc443a8c2e6675aca994c065305a8adb4.tar.gz
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.
Diffstat (limited to 'config.h.win32.in')
-rw-r--r--config.h.win32.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h.win32.in b/config.h.win32.in
index 6beceb866..d263cf267 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -145,3 +145,8 @@
/* #undef HAVE_LIBW */
#define USE_LIBICONV 1
+
+#define ENABLE_NLS 1
+
+/* Dunno if this will expand correctly: */
+#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"