misc: fix some definition errors
authormunkyu.im <munkyu.im@samsung.com>
Thu, 20 Sep 2012 03:25:42 +0000 (12:25 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Thu, 20 Sep 2012 03:29:04 +0000 (12:29 +0900)
modified makefile and option file.

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
tizen/src/Makefile
tizen/src/option.c

index e3a13ee..51506df 100755 (executable)
@@ -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
index 1df9d91..bef4bd0 100644 (file)
@@ -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];