projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1290d68
)
fix compilation when gettext is unavailable
author
caro
<caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 29 May 2011 18:13:52 +0000
(18:13 +0000)
committer
caro
<caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 29 May 2011 18:13:52 +0000
(18:13 +0000)
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@59790
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/elm_priv.h
patch
|
blob
|
history
diff --git
a/src/lib/elm_priv.h
b/src/lib/elm_priv.h
index
443ae5b
..
af2d89e
100644
(file)
--- a/
src/lib/elm_priv.h
+++ b/
src/lib/elm_priv.h
@@
-26,7
+26,14
@@
#define INF(...) EINA_LOG_DOM_INFO(_elm_log_dom, __VA_ARGS__)
#define DBG(...) EINA_LOG_DOM_DBG (_elm_log_dom, __VA_ARGS__)
-#define E_(string) dgettext(PACKAGE, string)
+#ifdef ENABLE_NLS
+# include <libintl.h>
+# define E_(string) dgettext(PACKAGE, string)
+#else
+# define bindtextdomain(domain,dir)
+# define E_(string) (string)
+#endif
+
typedef struct _Elm_Config Elm_Config;
typedef struct _Elm_Module Elm_Module;