projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f084102
)
Elementary: define setlocale and bindtextdomain macro if needed
author
Vincent Torri
<vincent.torri@gmail.com>
Fri, 21 Oct 2011 21:15:47 +0000
(21:15 +0000)
committer
Vincent Torri
<vincent.torri@gmail.com>
Fri, 21 Oct 2011 21:15:47 +0000
(21:15 +0000)
SVN revision: 64270
src/lib/elm_priv.h
patch
|
blob
|
history
diff --git
a/src/lib/elm_priv.h
b/src/lib/elm_priv.h
index
7128e4c
..
e84153b
100644
(file)
--- a/
src/lib/elm_priv.h
+++ b/
src/lib/elm_priv.h
@@
-25,7
+25,12
@@
# include <libintl.h>
# define E_(string) _elm_dgettext(string)
#else
-# define bindtextdomain(domain,dir)
+# ifndef setlocale
+# define setlocale(c, l)
+# endif
+# ifndef bindtextdomain
+# define bindtextdomain(domain,dir)
+# endif
# define E_(string) (string)
#endif
#define N_(string) (string)