jihoon pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=3a6666b3ce63aaa776eee9263b6bf9686b004d4b

commit 3a6666b3ce63aaa776eee9263b6bf9686b004d4b
Author: Jihoon Kim <[email protected]>
Date:   Sat Mar 28 23:59:09 2015 +0900

    Fix build warning related to window home
---
 src/bin/test_fileselector.c | 2 ++
 src/bin/test_panel.c        | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/bin/test_fileselector.c b/src/bin/test_fileselector.c
index 28fb30d..a0bd61d 100644
--- a/src/bin/test_fileselector.c
+++ b/src/bin/test_fileselector.c
@@ -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
diff --git a/src/bin/test_panel.c b/src/bin/test_panel.c
index a413702..36cd3c2 100644
--- a/src/bin/test_panel.c
+++ b/src/bin/test_panel.c
@@ -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)

-- 


Reply via email to