Browse Source

Test windows UNICODE

ithewei 4 years ago
parent
commit
45d7e85be3
1 changed files with 1 additions and 0 deletions
  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)