Change-Id: I3ad1365b837c5e22865c935ff82a5d0671565815
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
+#ifdef CONFIG_WIN32
+#include <libgen.h>
+#endif
+
#ifdef CONFIG_DARWIN
#include "ns_event.h"
int thread_running = 1; /* Check if we need exit main */
#ifdef CONFIG_DARWIN
#include "ns_event.h"
int thread_running = 1; /* Check if we need exit main */
if (g_pBuf != NULL) {
UnmapViewOfFile(g_pBuf);
}
if (g_pBuf != NULL) {
UnmapViewOfFile(g_pBuf);
}
+ if (g_hMapFile != NULL) {
CloseHandle(g_hMapFile);
}
}
CloseHandle(g_hMapFile);
}
}