完成windows下编译

This commit is contained in:
xiongziliang
2019-12-06 13:53:28 +08:00
parent 1300e11507
commit 030d8f6d53
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ if (NOT WIN32)
list(REMOVE_ITEM ToolKit_src_list ${ToolKit_Root}/win32/getopt.c)
else()
#防止Windows.h包含Winsock.h
add_definitions(-DWIN32_LEAN_AND_MEAN -DMP4V2_NO_STDINT_DEFS)
add_definitions(-DWIN32_LEAN_AND_MEAN -DMP4V2_NO_STDINT_DEFS -DOS_WINDOWS)
endif ()
#添加库