summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-10-21 21:15:47 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-10-21 21:15:47 +0000
commit51136e3e81b72cb8771ddf5cd7f7a891cd18d4f5 (patch)
tree7d421640c88e3a92a58b93da81a11abae442ada4 /legacy
parentffed36961ef70f23df60f15241faae4c46ecc7b3 (diff)
Elementary: define setlocale and bindtextdomain macro if needed
SVN revision: 64270
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_priv.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_priv.h b/legacy/elementary/src/lib/elm_priv.h
index 7128e4c5e1..e84153bf0c 100644
--- a/legacy/elementary/src/lib/elm_priv.h
+++ b/legacy/elementary/src/lib/elm_priv.h
@@ -25,7 +25,12 @@
25# include <libintl.h> 25# include <libintl.h>
26# define E_(string) _elm_dgettext(string) 26# define E_(string) _elm_dgettext(string)
27#else 27#else
28# define bindtextdomain(domain,dir) 28# ifndef setlocale
29# define setlocale(c, l)
30# endif
31# ifndef bindtextdomain
32# define bindtextdomain(domain,dir)
33# endif
29# define E_(string) (string) 34# define E_(string) (string)
30#endif 35#endif
31#define N_(string) (string) 36#define N_(string) (string)