Not use "#define... #endif" but use extern variable.
Change-Id: I4e63ef019bfc42af4d0aaf440257c77bb39a37fe
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
extern char tizen_target_img_path[];
static char g_sdcard[256] = {0,};
-static sdcard_info info;
static const char *pactempfile = ".autoproxy";
MULTI_DEBUG_CHANNEL(emulator, osutil);
-#ifndef CONFIG_WIN32
-static sdcard_info info;
-#endif
+sdcard_info info;
const char *pac_tempfile = ".autoproxy";
inline size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream)
HANDLE handle;
#endif
char* lock_file; /* reserved for future use */
-}sdcard_info;
-
+} sdcard_info;
+extern sdcard_info info;
#ifndef CONFIG_WIN32
bool make_sdcard_lock_posix(char *sdcard);