sdb: add device_serial_number
[sdk/emulator/qemu.git] / tizen / src / osutil-win32.c
index ad5ef10..35e40be 100644 (file)
@@ -34,6 +34,7 @@
   @brief    Collection of utilities for win32
  */
 
+#include <png.h>
 #include "maru_common.h"
 #include "osutil.h"
 #include "emulator.h"
@@ -50,7 +51,6 @@
 MULTI_DEBUG_CHANNEL (emulator, osutil);
 
 extern char tizen_target_img_path[];
-extern int tizen_base_port;
 
 static const char *pactempfile = ".autoproxy";
 
@@ -98,9 +98,11 @@ void make_vm_lock_os(void)
     char *pBuf;
     char *port_in_use;
     char *shared_memory;
+    int base_port;
 
+    base_port = get_emul_vm_base_port();
     shared_memory = g_strdup_printf("%s", tizen_target_img_path);
-    port_in_use =  g_strdup_printf("%d", tizen_base_port);
+    port_in_use =  g_strdup_printf("%d", base_port);
     hMapFile = CreateFileMapping(
                  INVALID_HANDLE_VALUE, /* use paging file */
                  NULL,                 /* default security */
@@ -144,6 +146,8 @@ void print_system_info_os(void)
 {
     INFO("* Windows\n");
 
+    INFO("* LibPNG Version : %s\n", PNG_LIBPNG_VER_STRING);
+
     /* Retrieves information about the current os */
     OSVERSIONINFO osvi;
     ZeroMemory(&osvi, sizeof(OSVERSIONINFO));