#include "utility/sync_util.h"
+#include <tzplatform_config.h>
+
#ifndef EXPORT_API
#define EXPORT_API __attribute__ ((visibility("default")))
#endif
int allow_dup_name = 0;
int folder_depth_max = 15;
- ret = sync_agent_get_fs_mem_size("/opt/usr/media", &free_size, &total_size);
+ ret = sync_agent_get_fs_mem_size(tzplatform_getenv(TZ_USER_CONTENT), &free_size, &total_size);
if (!ret) {
_DEBUG_ERROR("[sync_agent_get_fs_info] getting mem size fail");
return SYNC_AGENT_FSAPI_FALSE;