From a55bc8ca064c17d0421423ccc539ac935141fc6f Mon Sep 17 00:00:00 2001 From: tasn Date: Thu, 12 Aug 2010 14:16:32 +0000 Subject: [PATCH] Eina: "FIX" EINA_UNICODE_EMPTY_STRING. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51038 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_unicode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/eina_unicode.c b/src/lib/eina_unicode.c index 50175eb..cef07fb 100644 --- a/src/lib/eina_unicode.c +++ b/src/lib/eina_unicode.c @@ -24,7 +24,9 @@ /* FIXME: check if sizeof(wchar_t) == sizeof(Eina_Unicode) if so, * probably better to use the standard functions */ -EAPI const Eina_Unicode *EINA_UNICODE_EMPTY_STRING = {0}; +/* Maybe I'm too tired, but this is the only thing that actually worked. */ +const Eina_Unicode _EINA_UNICODE_EMPTY_STRING[1] = {0}; +EAPI const Eina_Unicode *EINA_UNICODE_EMPTY_STRING = _EINA_UNICODE_EMPTY_STRING; /** * @brief Same as the standard strcmp just with Eina_Unicode instead of char. */ -- 2.7.4