Browse Source

Test windows UNICODE

ithewei 4 năm trước cách đây
mục cha
commit
45d7e85be3
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -129,6 +129,7 @@ endif()
 
 if(WIN32)
     add_definitions(-D_WIN32_WINNT=0x0600)
+    add_definitions(-DUNICODE -D_UNICODE)
     set(LIBS ${LIBS} winmm iphlpapi ws2_32)
     if(ENABLE_WINDUMP)
         add_definitions(-DENABLE_WINDUMP)