Fix build warning related to window home
authorJihoon Kim <jihoon48.kim@samsung.com>
Sat, 28 Mar 2015 14:59:09 +0000 (23:59 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Sat, 28 Mar 2015 14:59:09 +0000 (23:59 +0900)
legacy/elementary/src/bin/test_fileselector.c
legacy/elementary/src/bin/test_panel.c

index 28fb30d..a0bd61d 100644 (file)
@@ -518,7 +518,9 @@ test_fileselector(void *data       EINA_UNUSED,
 {
    Evas_Object *win, *fs, *box, *vbox, *sep;
    char * home_env;
+#ifdef _WIN32
    char win_home_env[PATH_MAX];
+#endif
 
    /* Set the locale according to the system pref.
     * If you don't do so the file selector will order the files list in
index a413702..36cd3c2 100644 (file)
@@ -92,7 +92,9 @@ _fill_list(Evas_Object *obj, Elm_Genlist_Item_Class *itc)
    Eina_List *l;
    char *real;
    char *home_env = NULL;
+#ifdef _WIN32
    char win_home_env[PATH_MAX];
+#endif
    unsigned int x = 0;
 
    if (!dirs)