Elementary: define setlocale and bindtextdomain macro if needed
authorVincent Torri <vincent.torri@gmail.com>
Fri, 21 Oct 2011 21:15:47 +0000 (21:15 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Fri, 21 Oct 2011 21:15:47 +0000 (21:15 +0000)
SVN revision: 64270

src/lib/elm_priv.h

index 7128e4c5e10dd875245bce2c987f81a2a17f0fbf..e84153bf0c04ea8370064c03416eee3c925d77aa 100644 (file)
 # 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)