确保window下编译通过

This commit is contained in:
ziyue
2021-10-19 10:11:23 +08:00
parent 060d371961
commit 89389601d5
2 changed files with 7 additions and 5 deletions

View File

@@ -438,6 +438,8 @@ int main(int argc, char *argv[]) {
};
mk_events_listen(&events);
log_info("media server %s", "stared!");
signal(SIGINT, s_on_exit );// 设置退出信号
while (flag) {
#ifdef _WIN32