elm_calendar: remove iculib function call for MacOS 98/78798/1
authorThiep Ha <thiep.ha@samsung.com>
Thu, 7 Jul 2016 02:12:08 +0000 (11:12 +0900)
committerThiep Ha <thiep.ha@samsung.com>
Thu, 7 Jul 2016 02:12:08 +0000 (11:12 +0900)
Calendar uses NLS function which is not supported in MacOS.
This patch disables that usage in calendar.
@tizen_fix

Change-Id: I5071fb3d361ab20d107838aa9d79c89d77d7be80
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
src/lib/elm_calendar.c

index f9f58284093605e3c77d4e41af66a8d704f57092..715a38b38e94b51e5628c0bb827f3509d0c7a797 100644 (file)
@@ -90,6 +90,7 @@ static char *
 _current_region_date_string_get(const char *format, struct tm *tm)
 {
 #ifndef HAVE_ELEMENTARY_WIN32
+#ifndef HAVE_ELEMENTARY_COCOA
    char *p, *locale;
    char buf[128] = {0, };
    UDateFormat *dt_formatter = NULL;
@@ -185,6 +186,9 @@ _current_region_date_string_get(const char *format, struct tm *tm)
 #else
    return NULL;
 #endif
+#else
+   return NULL;
+#endif
 }
 //