summaryrefslogtreecommitdiff
path: root/src/port
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-29 21:06:28 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-03-29 21:06:28 +0200
commit768872e67ed9fb8f9aed528f42dd37da6ef3e04f (patch)
tree0bbf3a8826fd726edcfe82c17a02bf11f316726a /src/port
parent078dae6757b333c5496f62ba4f986b5ab9d564db (diff)
downloadwolfbones-768872e67ed9fb8f9aed528f42dd37da6ef3e04f.tar.gz
wolfbones-768872e67ed9fb8f9aed528f42dd37da6ef3e04f.tar.bz2
fixed gettext stub when NLS is disabled
Diffstat (limited to 'src/port')
-rw-r--r--src/port/gettext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/gettext.c b/src/port/gettext.c
index 3d4e052..5ab5b49 100644
--- a/src/port/gettext.c
+++ b/src/port/gettext.c
@@ -24,6 +24,9 @@ void wolf_port_initialize_i18n( const char *argv0, const char *app ) {
const char *localedir;
WOLF_UNUSED( argv0 );
+#if !ENABLE_NLS
+ WOLF_UNUSED( app );
+#endif
/* default is the location $(localedir) points to (the final installation
* destination)