Elm: try to fix some mac os x link errors with gettext

SVN revision: 64680
This commit is contained in:
Vincent Torri 2011-11-03 07:23:30 +00:00
parent 58fc5676ff
commit 19e114ff98
2 changed files with 18 additions and 1 deletions

View File

@ -1,7 +1,18 @@
#include <Elementary.h>
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ENABLE_NLS
# ifndef setlocale
# define setlocale(c, l)
# endif
# ifndef libintl_setlocale
# define libintl_setlocale(c, l)
# endif
#endif
#ifndef ELM_LIB_QUICKLAUNCH
static void
my_fileselector_done(void *data,

View File

@ -28,9 +28,15 @@
# 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)