forked from osmocom/wireshark
CMake: Move UNICODE defines to command line
For consistency's sake, I have not had any build errors that can be attributed to this.
This commit is contained in:
parent
6bd1bb4d7c
commit
a5a9bb0763
|
@ -436,6 +436,11 @@ if(WIN32)
|
|||
add_definitions(
|
||||
-DWIN32_LEAN_AND_MEAN
|
||||
#
|
||||
# Use Unicode in Windows runtime functions.
|
||||
#
|
||||
-DUNICODE
|
||||
-D_UNICODE
|
||||
#
|
||||
# NOMINMAX keeps windows.h from defining "min" and "max" via windef.h.
|
||||
# This avoids conflicts with the C++ standard library.
|
||||
#
|
||||
|
|
|
@ -312,9 +312,6 @@
|
|||
# ifndef __STDC__
|
||||
# define __STDC__ 0
|
||||
# endif
|
||||
/* Use Unicode in Windows runtime functions. */
|
||||
# define UNICODE 1
|
||||
# define _UNICODE 1
|
||||
#endif
|
||||
|
||||
#include <ws_diag_control.h>
|
||||
|
|
Loading…
Reference in New Issue