Author: tkreuzer
Date: Sun Feb 17 18:11:16 2013
New Revision: 58338
URL:
http://svn.reactos.org/svn/reactos?rev=58338&view=rev
Log:
[WLANCONF]
Compile as UNICODE.
Modified:
trunk/reactos/base/applications/network/wlanconf/CMakeLists.txt
trunk/reactos/base/applications/network/wlanconf/wlanconf.c
Modified: trunk/reactos/base/applications/network/wlanconf/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/wlanconf/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/network/wlanconf/CMakeLists.txt [iso-8859-1] Sun Feb
17 18:11:16 2013
@@ -4,12 +4,6 @@
${REACTOS_SOURCE_DIR}/include/reactos/drivers/ndisuio)
add_executable(wlanconf wlanconf.c wlanconf.rc)
-# FIXME:
http://www.cmake.org/Bug/view.php?id=12998
-if(NOT MSVC)
- #add_target_compile_flags(wlanconf "-Wno-format")
- set_source_files_properties(wlanconf.c PROPERTIES COMPILE_FLAGS
"-Wno-format")
-endif()
-
-set_module_type(wlanconf win32cui)
+set_module_type(wlanconf win32cui UNICODE)
add_importlibs(wlanconf msvcrt user32 iphlpapi kernel32)
add_cd_file(TARGET wlanconf DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/applications/network/wlanconf/wlanconf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/wlanconf/wlanconf.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/wlanconf/wlanconf.c [iso-8859-1] Sun Feb 17
18:11:16 2013
@@ -936,7 +936,7 @@
return TRUE;
}
-int main(int argc, char *argv[])
+int _tmain(int argc, char *argv[])
{
HANDLE hAdapter;
IP_ADAPTER_INDEX_MAP IpInfo;