forked from enlightenment/efl
Elm: fix compilation of codegen on Mac and formatting in elm_priv.h
SVN revision: 77220
This commit is contained in:
parent
5db89a0439
commit
9da7ce5abe
|
@ -18,6 +18,12 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef ENABLE_NLS
|
||||
# ifndef libintl_setlocale
|
||||
# define libintl_setlocale(c, l)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static int _log_dom;
|
||||
#define DBG(...) EINA_LOG_DOM_DBG(_log_dom, __VA_ARGS__)
|
||||
#define ERR(...) EINA_LOG_DOM_ERR(_log_dom, __VA_ARGS__)
|
||||
|
|
|
@ -59,22 +59,22 @@
|
|||
#define DBG(...) EINA_LOG_DOM_DBG(_elm_log_dom, __VA_ARGS__)
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
#include <libintl.h>
|
||||
#define E_(string) _elm_dgettext(string)
|
||||
# include <libintl.h>
|
||||
# define E_(string) _elm_dgettext(string)
|
||||
#else
|
||||
#ifndef setlocale
|
||||
#define setlocale(c, l)
|
||||
#endif
|
||||
#ifndef libintl_setlocale
|
||||
#define libintl_setlocale(c, l)
|
||||
#endif
|
||||
#ifndef bindtextdomain
|
||||
#define bindtextdomain(domain, dir)
|
||||
#endif
|
||||
#ifndef libintl_bindtextdomain
|
||||
#define libintl_bindtextdomain(domain, dir)
|
||||
#endif
|
||||
#define E_(string) (string)
|
||||
# ifndef setlocale
|
||||
# define setlocale(c, l)
|
||||
# endif
|
||||
# ifndef libintl_setlocale
|
||||
# define libintl_setlocale(c, l)
|
||||
# endif
|
||||
# ifndef bindtextdomain
|
||||
# define bindtextdomain(domain, dir)
|
||||
# endif
|
||||
# ifndef libintl_bindtextdomain
|
||||
# define libintl_bindtextdomain(domain, dir)
|
||||
# endif
|
||||
# define E_(string) (string)
|
||||
#endif
|
||||
#define N_(string) (string)
|
||||
|
||||
|
|
Loading…
Reference in New Issue