Changeset 0b06fc57642beaf6e21c5cfdcb9166a52f3dc1f8
- Timestamp:
- 06/11/08 17:57:54
(3 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1213199874 +0300
- git-parent:
[e39bc8a53f6217f817a1e8dabbcd1c7e292bc545]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1213199874 +0300
- Message:
Blind attempt at fixing the libintl/g++-4.2 problem
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra043d59 |
r0b06fc5 |
|
| 231 | 231 | #if defined (ENABLE_NLS) |
|---|
| 232 | 232 | # include <libintl.h> |
|---|
| 233 | | #else |
|---|
| 234 | | # define dgettext(dom, str) ((char *)(str)) |
|---|
| 235 | 233 | #endif |
|---|
| 236 | 234 | |
|---|
| rd666030 |
r0b06fc5 |
|
| 328 | 328 | char *vlc_gettext( const char *msgid ) |
|---|
| 329 | 329 | { |
|---|
| | 330 | #ifdef ENABLE_NLS |
|---|
| 330 | 331 | return dgettext( PACKAGE_NAME, msgid ); |
|---|
| | 332 | #else |
|---|
| | 333 | return (char *)msgid; |
|---|
| | 334 | #endif |
|---|
| 331 | 335 | } |
|---|
| 332 | 336 | |
|---|
| r8e17cc4 |
r0b06fc5 |
|
| 32 | 32 | #include "config/configuration.h" |
|---|
| 33 | 33 | #include "libvlc.h" |
|---|
| | 34 | #ifndef ENABLE_NLS |
|---|
| | 35 | # define dgettext(d, m) ((char *)(m)) |
|---|
| | 36 | #endif |
|---|
| 34 | 37 | |
|---|
| 35 | 38 | static const char default_name[] = "unnamed"; |
|---|