elm_config: fix build break on windows.
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 10 Nov 2016 04:43:27 +0000 (13:43 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 17 Nov 2016 08:07:48 +0000 (17:07 +0900)
getenv("HOME") causes the build break on windows.
This is caused by 860995081934e9496ca2eeb6b1567edd9730e4b5

Change-Id: I7a7583c524d24910d70764bae88a1a067df4ad86
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/lib/elm_config.c

index b93fd8f8f13a216c9e05c0fe992d51d21cd09db2..8464119a64ed790fefbbe4426d65772eac96f9ea 100644 (file)
@@ -135,7 +135,7 @@ static void        _color_overlays_cancel(void);
 // elm_config monitors a file(TIZEN_MOUNT_CHECK_PATH) which is created
 // after mounting. then if it doesn't exist, elm_config will access to
 // the fallback path based on TIZEN_UNMOUNT_FALLBACK_BASE_DIR
-#define TIZEN_MOUNT_CHECK_PATH getenv("HOME")
+#define TIZEN_MOUNT_CHECK_PATH eina_environment_home_get()
 #define TIZEN_UNMOUNT_FALLBACK_BASE_DIR "/opt"
 // END