summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-12 16:59:31 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-12 16:59:31 +0100
commit6921ab52299b015392d2efbeeea857d673ada29f (patch)
tree0c1739a5899babf01a0ec9e50ff869846c0016f5 /include
parent3ef0aea613ae37423892f09bb47b68fdeaa6d110 (diff)
downloadwolfbones-6921ab52299b015392d2efbeeea857d673ada29f.tar.gz
wolfbones-6921ab52299b015392d2efbeeea857d673ada29f.tar.bz2
gettext fix on Solaris 8
Diffstat (limited to 'include')
-rw-r--r--include/wolf/port/gettext.h1
-rw-r--r--include/wolf/port/sys.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/wolf/port/gettext.h b/include/wolf/port/gettext.h
index 9ad795a..a5defca 100644
--- a/include/wolf/port/gettext.h
+++ b/include/wolf/port/gettext.h
@@ -49,6 +49,7 @@
#if defined __GNUC__
#if defined GETTEXT_NEEDS_FORMAT_ARG
extern char *gettext( const char *__msgid ) __attribute__ ( ( format_arg ( 1 ) ) );
+extern char *libintl_gettext( const char *__msgid ) __attribute__ ( ( format_arg ( 1 ) ) );
#endif
#endif
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h
index d8297c3..8dc8f02 100644
--- a/include/wolf/port/sys.h
+++ b/include/wolf/port/sys.h
@@ -154,6 +154,7 @@
#define HAVE_STRNCASECMP
#define HAVE_STRINGS_H
#define HAVE_SYSLOG_H
+#define GETTEXT_NEEDS_FORMAT_ARG
#else
#if OS_MINOR_VERSION == 10
#if !defined __cplusplus