From c0d31c0b805a898e5ed979d5634d1cc9ed809064 Mon Sep 17 00:00:00 2001 From: "munkyu.im" Date: Thu, 20 Sep 2012 12:25:42 +0900 Subject: [PATCH] misc: fix some definition errors modified makefile and option file. Signed-off-by: Munkyu Im --- tizen/src/Makefile | 3 +-- tizen/src/option.c | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tizen/src/Makefile b/tizen/src/Makefile index e3a13ee..51506df 100755 --- a/tizen/src/Makefile +++ b/tizen/src/Makefile @@ -9,16 +9,15 @@ config-host.mak: endif all: qemu skin_client - qemu: build_info ffmpeg_install check_hax cd ../../ && $(MAKE) - qemu_clean: cd ../../ && $(MAKE) clean qemu_distclean: cd ../../ && $(MAKE) distclean check_hax: + @echo "build check hax" ifdef CONFIG_WIN32 $(CC) -o check-hax.exe check_hax.c endif diff --git a/tizen/src/option.c b/tizen/src/option.c index 1df9d91..bef4bd0 100644 --- a/tizen/src/option.c +++ b/tizen/src/option.c @@ -289,7 +289,7 @@ static void getmacproxy(char *http_proxy, char *https_proxy, char *ftp_proxy, ch } #endif -#if defined (CONFIG_LINUX) +#if defined (CONFIG_WIN32) static void remove_string(char *src, char *dst, const char *toremove) { int len = strlen(toremove); @@ -303,7 +303,9 @@ static void remove_string(char *src, char *dst, const char *toremove) dst[j] = '\0'; } +#endif +#if defined (CONFIG_LINUX) static void getlinuxproxy(char *http_proxy, char *https_proxy, char *ftp_proxy, char *socks_proxy) { char buf[MAXLEN]; -- 2.7.4