Eina: "FIX" EINA_UNICODE_EMPTY_STRING.

SVN revision: 51038
This commit is contained in:
Tom Hacohen 2010-08-12 14:16:32 +00:00
parent 5e6ec75865
commit d2988fe707
1 changed files with 3 additions and 1 deletions

View File

@ -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.
*/