summaryrefslogtreecommitdiff
path: root/src/xine-engine/load_plugins.c
diff options
context:
space:
mode:
authorMatthias Ringwald <mringwal@inf.ethz.ch>2008-03-06 21:59:28 +0000
committerMatthias Ringwald <mringwal@inf.ethz.ch>2008-03-06 21:59:28 +0000
commite6f87e34ee65c805bde5805f89ac362095e9df4c (patch)
tree4b54ac93a7a57ed34e6a929fb244954303dadc5e /src/xine-engine/load_plugins.c
parente36ec56897903031273ce381738f72140840ed66 (diff)
downloadxine-lib-e6f87e34ee65c805bde5805f89ac362095e9df4c.tar.gz
xine-lib-e6f87e34ee65c805bde5805f89ac362095e9df4c.tar.bz2
Fix compilation for installed libintl.h in include paths
Compilation of xine-lib-1.2 hg failed for me as libintl.h does this: #define textdomain libintl_textdomain This causes trouble accessing fields in structures which are accidentally named "textdomain". The patch renames textdomain to text_domain in xine headers and xine- engine/xine.c and xine/load_plugins.c
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r--src/xine-engine/load_plugins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c
index 8e4a10a60..46535ef33 100644
--- a/src/xine-engine/load_plugins.c
+++ b/src/xine-engine/load_plugins.c
@@ -2403,7 +2403,7 @@ const char *const *xine_list_post_plugins_typed(xine_t *xine, uint32_t type) {
else \
return NULL; \
} \
- return dgettext(ic->textdomain ? : XINE_TEXTDOMAIN, ic->description); \
+ return dgettext(ic->text_domain ? : XINE_TEXTDOMAIN, ic->description); \
} \
} \
return NULL; \