summaryrefslogtreecommitdiff
path: root/src/lib/elua/elua_private.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-12-12 10:44:58 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2014-12-12 10:44:58 +0000
commit784045df9ae73f4f74b52b5f2cc7a6254b9b7c1d (patch)
tree988a2444aa9cb16cd867e45015a57fb34d5425d6 /src/lib/elua/elua_private.h
parent56a8f13e5c9370a8a59c8b96a225250bda376e05 (diff)
elua: move i18n setup to the library
Diffstat (limited to 'src/lib/elua/elua_private.h')
-rw-r--r--src/lib/elua/elua_private.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h
index a4be6fbfff..0e1e9be515 100644
--- a/src/lib/elua/elua_private.h
+++ b/src/lib/elua/elua_private.h
@@ -1,6 +1,18 @@
1#ifndef _ELUA_PRIVATE_H 1#ifndef _ELUA_PRIVATE_H
2#define _ELUA_PRIVATE_H 2#define _ELUA_PRIVATE_H
3 3
4#ifdef HAVE_CONFIG_H
5# include <config.h>
6#endif
7
8#ifdef ENABLE_NLS
9# include <locale.h>
10# include <libintl.h>
11# define _(x) dgettext(PACKAGE, x)
12#else
13# define _(x) (x)
14#endif
15
4#include <stdio.h> 16#include <stdio.h>
5#include <stdlib.h> 17#include <stdlib.h>
6 18